]> git.koha-community.org Git - koha.git/commit
Bug 34402: Sorting holds on patron account includes articles
authorOwen Leonard <oleonard@myacpl.org>
Wed, 26 Jul 2023 12:25:11 +0000 (12:25 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 12 Sep 2023 12:45:03 +0000 (09:45 -0300)
commit365121cae2d4df41333d4e2144acfe8c8a82b9a9
treefee19487b2e464c1447c8869c57455838dbf178b
parent4fb49407dd16ceb0b4215d9cb7d6dc0c4e5dd669
Bug 34402: Sorting holds on patron account includes articles

This patch adds some configuration to the table of holds shown on the
checkout and patron detail pages so that sorting by title correctly
excludes articles.

To test, apply the patch and clear your browser cache.

- Check out to a patron who has multiple holds on titles which include
  leading articles like "a" "an" and "the."
- Click the holds tab and click the "title" column to sort by title.
  - The titles should be correctly sorted alphabetically while ignoring
    articles.

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-detail-tabs.inc
koha-tmpl/intranet-tmpl/prog/js/holds.js