Bugzilla – Attachment 114286 Details for
Bug 27168
Most popular doesn't always sort correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27168: Sort most popular by number of issues desc
Bug-27168-Sort-most-popular-by-number-of-issues-de.patch (text/plain), 1.27 KB, created by
Jonathan Druart
on 2020-12-09 15:29:40 UTC
(
hide
)
Description:
Bug 27168: Sort most popular by number of issues desc
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-12-09 15:29:40 UTC
Size:
1.27 KB
patch
obsolete
>From 965790a92130d59710f12ada7a7598f693beb37f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 9 Dec 2020 16:27:41 +0100 >Subject: [PATCH] Bug 27168: Sort most popular by number of issues desc > >It seems that there is a weird behavior when the title is used as a >second sort > >Test plan: >Turn on OpacTopissue >Make sure the table always displays entries sorted by number of issues >desc >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt >index 5ae8114b49..14f94bf3f8 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt >@@ -145,7 +145,7 @@ > <script> > $(function() { > $("#topissuest").dataTable($.extend(true, {}, dataTablesDefaults, { >- "sorting": [ [2, "desc"], [0, "asc"] ], >+ "sorting": [[2, "desc"]], > "columnDefs": [ > { "sortable": false, "searchable": false, 'targets': [ 'NoSort' ] }, > { "type": "anti-the", "targets" : [ "anti-the" ] }, >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27168
:
114283
|
114284
|
114286
|
114292
|
114600
|
115049