https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26247

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #136767|0                           |1
        is obsolete|                            |

--- Comment #41 from David Nind <[email protected]> ---
Created attachment 137310
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137310&action=edit
Bug 26247: [ALTERNATE] Adding 2 Sysprefs for Search Terms

This patch adds two system preferences options : 'RetainCatalogSearchTerms' and
'RetainPatronsSearchTerms'. If enabled, search terms will be retained between
searches made from, respectively, the Search Catalog header and the Checkout or
Search Patrons headers. If disabled, the searchbars will clear out between page
loads.

Attention, this is an alternate solution from the previous patches, ONLY apply
this patch when testing and not the previous ones.Changed the syspref wording
as well.

To test:
1 - From the staff client, search some terms using the Check out header search
bar.
2 - Confirm search terms are retained.
3 - Do Step 1-2 twice again, this time using the Search patrons and Search the
catalog.
4 - Apply patch (again, only this one), update database.
5 - In the system preferences, look for RetainCatalogSearchTerms and set it to
'don't retain'.
6 - Use the checkout head search bar again, confirm that search terms aren't
retained after page load.
7 - Do Step 5-6 once again, this time with the RetainPatronsSearchTerms and the
Search Patrons and Search the catalog headers.
8 - Search boxes should be cleared.

Thanks-to: Fridolin Somers and Nick Clemens for the bases I built on.
Signed-off-by: Florian Bontemps <[email protected]>

Signed-off-by: David Nind <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to