Bugzilla – Attachment 150057 Details for
Bug 33190
Add search history button to advance search form if EnableSearchHistory keep
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33190: Add search history button to advance search form if EnableSearchHistory keep
Bug-33190-Add-search-history-button-to-advance-sea.patch (text/plain), 2.32 KB, created by
Kyle M Hall (khall)
on 2023-04-21 15:56:06 UTC
(
hide
)
Description:
Bug 33190: Add search history button to advance search form if EnableSearchHistory keep
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2023-04-21 15:56:06 UTC
Size:
2.32 KB
patch
obsolete
>From 5ba28688009ce50f0e2864571d81469faa467920 Mon Sep 17 00:00:00 2001 >From: Adam Styles <adam.styles@esa.edu.au> >Date: Tue, 14 Mar 2023 01:27:32 +0000 >Subject: [PATCH] Bug 33190: Add search history button to advance search form > if EnableSearchHistory keep > >Add 'search history' button to advanced search button groups if 'EnableSearchHistory' sys pref is set to 'keep' via added code block to advsearch.tt > >To test: >1) Login to Koha dev box instance >2) Select 'Advanced search module' '/cgi-bin/koha/catalogue/search.pl' 'Search history' icon will not be visible in tools groups in form. >3) Select 'koha administration' module '/cgi-bin/koha/admin/admin-home.pl' >4) Enter 'EnableSearchHistory' string into top search field >5) Change ' EnableSearchHistory' value to 'keep' >6) Press 'Save all Searching preferences' to save pref changes >7) Navigate back to Koha landing home '/cgi-bin/koha/mainpage.pl' >8) Select 'Advanced search module' '/cgi-bin/koha/catalogue/search.pl' >9) 'Search history' icon will now be visible in tools groups in form >10) SIGN OFF > >Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../intranet-tmpl/prog/en/modules/catalogue/advsearch.tt | 6 ++++++ > 1 file changed, 6 insertions(+) > >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 547f5b1794d..5f0a3b60ccf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >@@ -93,6 +93,12 @@ > <div class="btn-group"> > <a href="/cgi-bin/koha/catalogue/itemsearch.pl" class="btn btn-link"><i class="fa fa-search"></i> Go to item search</a> > </div> >+ >+ [% IF Koha.Preference('EnableSearchHistory') %] >+ <div class="btn-group"> >+ <a href="/cgi-bin/koha/catalogue/search-history.pl" class="btn btn-link"><i class="fa fa-history"></i> Search history</a> >+ </div> >+ [% END %] > </div> <!-- /#toolbar --> > <!-- /SEARCH BUTTONS --> > [% END %] >-- >2.30.2
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 33190
:
148047
|
148048
|
148099
|
148105
|
148150
|
148153
| 150057