Bugzilla – Attachment 47136 Details for
Bug 15583
List of lists in the staff client should have a default sort
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 15583 - List of lists in the staff client should have a default sort
SIGNED-OFF-Bug-15583---List-of-lists-in-the-staff-.patch (text/plain), 1.58 KB, created by
Owen Leonard
on 2016-01-21 15:24:03 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 15583 - List of lists in the staff client should have a default sort
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2016-01-21 15:24:03 UTC
Size:
1.58 KB
patch
obsolete
>From 7d23a98049a30577d826056f9a7895c6030c7771 Mon Sep 17 00:00:00 2001 >From: Chloe <chloealabaster@gmail.com> >Date: Wed, 20 Jan 2016 23:08:25 +0000 >Subject: [PATCH] [SIGNED-OFF] Bug 15583 - List of lists in the staff client > should have a default sort >Content-Type: text/plain; charset="utf-8" > >To Test: > >1- first make sure you have lists from different dates, > -- if you dont you can go to databases and change the created_on date > (by changing the date on the database you can also ensure that the > shelfnumber doesn't align with the creation date, replicating the > bug being fixed.) >2- after making lists apply patch and refresh page, the lists should be > sorted by creation date by default instead of by the "shelfnumber" > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >index b0bdabc..9f49743 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >@@ -37,6 +37,8 @@ $(document).ready(function(){ > var type = [% PRIVATE %]; > [% END %] > var dtListResults = $("#listresultst").dataTable($.extend(true, {}, dataTablesDefaults, { >+ >+ "aaSorting": [[ 5, "asc" ]], > 'bServerSide': true, > 'sAjaxSource': "/cgi-bin/koha/svc/virtualshelves/search", > 'fnServerData': function(sSource, aoData, fnCallback) { >-- >2.1.4
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 15583
:
47064
|
47136
|
47163