]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 14 Sep 2023 18:02:34 +0000 (08:02 -1000)
commit61eaab1c0510054df46e0769b8e4f3eb6ba844f2
tree1a14cf1307b1a15c44561d1ea6c673e83c802621
parentbde32f49272fe74f89e785cdc68c9b362d54bc24
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>
(cherry picked from commit 365121cae2d4df41333d4e2144acfe8c8a82b9a9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-detail-tabs.inc
koha-tmpl/intranet-tmpl/prog/js/holds.js