[Koha-bugs] [Bug 19807] IntranetCatalogSearchPulldown doesn' t honor IntranetNumbersPreferPhrase
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 27 21:19:47 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19807
Jon Knight <J.P.Knight at lboro.ac.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #69782|0 |1
is obsolete| |
--- Comment #2 from Jon Knight <J.P.Knight at lboro.ac.uk> ---
Created attachment 70180
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70180&action=edit
Bug 19807: Make IntranetCatalogSearchPulldown honor IntranetNumbersPreferPhrase
This patch
- fixes callnum and sn
- Removes unecessary syspref transmission to the template.
As the template directly reads the syspref
Test plan:
1. Set sysprefs IntranetCatalogSearchPulldown and
IntranetNumbersPreferPhrase to true
2. Go to staff:/cgi-bin/koha/catalogue/search.pl
3. "search for" → "call number" and write anything that won't match a
call number in the field
4. Then you should see
«No results match your search for 'callnum,phr: [...]»
5. Go to the staff homepage
6. Click on "Search the catalog"
7. Do the same search as previouly
8. Then you should see
«No results match your search for 'callnum,wrdl: [...]»
This shows that IntranetNumbersPreferPhrase isn't honored
9. Apply this patch
10. Redo the same two searches and see that phr will now be always used.
So IntranetNumbersPreferPhrase is honored
Signed-off-by: Jon Knight <J.P.Knight at lboro.ac.uk>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list