Koha-clms/admin
Marc Veron 9bc53a0fcc Bug 8887: only display desired result when doing exact syspref search
This patch fixes an issue where entering the complete name of a system
preference when doing a syspref search in the staff interface resulted
in the display of *all* preferences belonging to the desired one's
module.

Since providing a more specific search string should result in getting
back more specific results, the previous behavior was not intuitive.

Test scenario:

a) In sysprefs, do a search with partial match (e.g. intranetcolor)
-> Result shows one entry: intranetcolorstylesheet
b) Do an exact search. e.g. intranetcolorstylesheet
-> Result shows all Staff Client preferences

Apply patch, test again. Now b) behaves like a).

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Passes koha-qa.pl, works as advertised.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-08-16 16:17:41 +00:00
..
searchengine/solr
…
admin-home.pl
…
aqbudget_user_search.pl
…
aqbudgetperiods.pl
…
aqbudgets.pl
…
aqcontract.pl
…
aqplan.pl
…
auth_subfields_structure.pl
…
auth_tag_structure.pl
…
authorised_values.pl
…
authtypes.pl
…
biblio_framework.pl
…
branch_transfer_limits.pl
…
branches.pl
…
categorie.pl
…
check_budget_parent.pl
…
check_parent_total.pl
…
checkmarc.pl
…
cities.pl
…
classsources.pl
…
clone-rules.pl
…
currency.pl
…
didyoumean.pl
…
env_tz_test.pl
…
fieldmapping.pl
…
import_export_framework.pl
…
item_circulation_alerts.pl
…
itemtypes.pl
…
koha2marclinks.pl
…
marc_subfields_structure.pl
…
marctagstructure.pl
…
matching-rules.pl
…
oai_set_mappings.pl
…
oai_sets.pl
…
patron-attr-types.pl
…
preferences.pl
…
printers.pl
…
roadtype.pl
…
smart-rules.pl
…
stopwords.pl
…
systempreferences.pl
…
transport-cost-matrix.pl
…
z3950servers.pl
…