Bugzilla – Attachment 144310 Details for
Bug 32301
Show correct defaultSortField in staff interface advanced search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32301: defaultSortField changes the default Sort By in Staff Client Advanced Search
Bug-32301-defaultSortField-changes-the-default-Sor.patch (text/plain), 1.73 KB, created by
Wainui Witika-Park
on 2022-11-29 01:28:34 UTC
(
hide
)
Description:
Bug 32301: defaultSortField changes the default Sort By in Staff Client Advanced Search
Filename:
MIME Type:
Creator:
Wainui Witika-Park
Created:
2022-11-29 01:28:34 UTC
Size:
1.73 KB
patch
obsolete
>From 298958c13860877464b063dcbfcc4a53865b444b Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Tue, 29 Nov 2022 01:17:41 +0000 >Subject: [PATCH] Bug 32301: defaultSortField changes the default Sort By in > Staff Client Advanced Search > >Use the system preference "defaultSortField" to choose the default Sort >By in the Staff Client Advances Search > >To test: >1) Go to staff client >2) Go to Advanced Search >3) Notice the default Sort By value is "Relevance" >4) Go to system preferences >5) Go to "defaultSortField" >6) Change the value of the system preference >7) Go back to Advanced Search and refresh the page >8) Notice that there are no changes, the default Sort By is still >"Relevance" >9) Apply patch >10) Notice that changing the system preference now changes the default >Sort By in Advanced Search > >Sponsored-by: National Institute of Atmospheric and Water Research >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >index 8dcc8d2e4b..3a89c85250 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >@@ -383,7 +383,7 @@ > <p> > <label for="sort_by">Sort by: </label> > <select id="sort_by" name="sort_by"> >- [% INCLUDE 'resort_form.inc' sort_by = sort %] >+ [% INCLUDE 'resort_form.inc'%] > </select> > </p> > </fieldset> <!-- /#sortby --> >-- >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 32301
:
144096
|
144310
|
144327
|
147984
|
148326
|
148973
|
149405