Bugzilla – Attachment 115049 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: [20.05.x] Sort most popular by number of issues desc
Bug-27168-2005x-Sort-most-popular-by-number-of-iss.patch (text/plain), 1.22 KB, created by
Jonathan Druart
on 2021-01-12 08:47:02 UTC
(
hide
)
Description:
Bug 27168: [20.05.x] Sort most popular by number of issues desc
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-01-12 08:47:02 UTC
Size:
1.22 KB
patch
obsolete
>From 576e70c9e4db01b38e7fcc6eb842ee7c53107c5c 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: [20.05.x] 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 4c08a4a58b..64a3755e84 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt >@@ -101,7 +101,7 @@ > //<![CDATA[ > $(function() { > $("#topissuest").dataTable($.extend(true, {}, dataTablesDefaults, { >- "sorting": [ [2, "desc"], [0, "asc"] ], >+ "sorting": [[2, "desc"]], > "columnDefs": [ > [% IF ( opacuserlogin ) %]{ "targets": [ -1 ], "sortable": false, "searchable": false }[% END %] > ], >-- >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