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 365121cae2
)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
bde32f4927
commit
61eaab1c05
2 changed files with 4 additions and 1 deletions
|
@ -143,7 +143,7 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th>Hold date</th>
|
||||
<th>Title</th>
|
||||
<th class="anti-the">Title</th>
|
||||
<th>Call number</th>
|
||||
<th>Item type</th>
|
||||
<th>Barcode</th>
|
||||
|
|
|
@ -314,6 +314,9 @@ $(document).ready(function() {
|
|||
"bPaginate": false,
|
||||
"bProcessing": true,
|
||||
"bServerSide": false,
|
||||
"aoColumnDefs": [
|
||||
{ "type": "anti-the", "targets": [ "anti-the" ] }
|
||||
],
|
||||
"ajax": {
|
||||
"url": '/cgi-bin/koha/svc/holds',
|
||||
"data": function ( d ) {
|
||||
|
|
Loading…
Reference in a new issue