Bugzilla – Attachment 182564 Details for
Bug 39406
Issues on serial collection page sort from old to new now
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39406: Make serial issues sort from new to old on collection page
Bug-39406-Make-serial-issues-sort-from-new-to-old-.patch (text/plain), 1.78 KB, created by
David Nind
on 2025-05-18 18:39:10 UTC
(
hide
)
Description:
Bug 39406: Make serial issues sort from new to old on collection page
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-05-18 18:39:10 UTC
Size:
1.78 KB
patch
obsolete
>From 2e19630b47d4c6c02399be45f891aaecf6f3aa6b Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Thu, 15 May 2025 04:49:10 +0000 >Subject: [PATCH] Bug 39406: Make serial issues sort from new to old on > collection page > >This patch fixes the serial collection table to sort in descending order on the date published column. > >To test: > >1. Create a subscription if you don't already have one. >2. Go to the Serial Collection tab using the left navigation. >3. Click the Generate Next button a bunch of times to generate some serial issues. Note that the issues are displaying in the table in ascending order, with the oldest date published at the top. > >4. Apply the patch and refresh the page > >5. Confirm the issues are now displaying in the table in descending order, with the newest date published at the top. >6. Click the Generate Next button again and confirm the issue is inserted at the top of the table. > >Sponsored-by: Pymble Ladies' College >Signed-off-by: David Nind <david@davidnind.com> >--- > .../intranet-tmpl/prog/en/modules/serials/serials-collection.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >index bba3bd5125..ae63fadc80 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >@@ -360,7 +360,7 @@ > $("#subscription_years a:first").tab("show"); > } > $(".subscription-year-table").kohaTable({ >- order: [[0, "desc"]], >+ order: [[1, "desc"]], > dom: "t", > autoWidth: false, > paging: false, >-- >2.39.5
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 39406
:
182473
| 182564