Bug 10235

Summary: Koha's syspref search fails to find 'local' sysprefs
Product: Koha Reporter: Mason James <mtj>
Component: System AdministrationAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P5 - low CC: gmcharlt, jonathan.druart, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 10235: Add DataTables filters on local use prefs
Bug 10235: Add DataTables filters on local use prefs
Bug 10235: Add DataTables filters on local use prefs
[PASSED QA] Bug 10235: Add DataTables filters on local use prefs

Description Mason James 2013-05-13 05:54:08 UTC
if you add a new syspref to Koha, then attempt to search for it - the 'syspref search' feature fails to find it :/

this ticket will attempt to fix this bug.
Comment 1 Owen Leonard 2014-07-16 18:49:38 UTC
It would be nice if, at the very least, a search for local system preferences worked from the local use tab.
Comment 2 Jonathan Druart 2015-04-14 14:09:32 UTC Comment hidden (obsolete)
Comment 3 Mark Tompsett 2015-05-01 13:31:14 UTC Comment hidden (obsolete)
Comment 4 Mark Tompsett 2015-05-01 13:32:11 UTC Comment hidden (obsolete)
Comment 5 Katrin Fischer 2015-05-03 16:31:01 UTC
Created attachment 38779 [details] [review]
[PASSED QA] Bug 10235: Add DataTables filters on local use prefs

There is no way to search for local use prefs.
This patch provides an easy way to search for pref present in
of local use prefs table.

Test plan:
1/ Go on the system preferences administration page
2/ Click on the Local Use table
3/ Confirm you are able to filter the table by pref name or description
using the DataTables filters on top of it.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

NOTE: Local use tab is distinct from other tabs, so implementing
      'Search system preferences' across all tabs would be very
      difficult. This patch adds a filter to the Local Use tab,
      which nicely allows for filtering, as per Owen's suggestion
      in comment #1.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 6 Tomás Cohen Arazi (tcohen) 2015-05-14 15:40:42 UTC
Patch pushed to master.

Thanks Jonathan!