Koha/catalogue
Victor Grousset 886b197b2d 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@lboro.ac.uk>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-01-02 12:58:55 -03:00
..
detail.pl Bug 19440: Existing calls need to be done in scalar context 2017-10-09 16:15:52 -03:00
export.pl
getitem-ajax.pl
image.pl
imageviewer.pl
ISBDdetail.pl Bug 19367: $biblio variable redefined in same scope in ISBDdetail 2017-10-09 16:02:54 -03:00
issuehistory.pl Bug 19334: Circulation history doesn't set biblionumber so left navigation is broken 2017-09-29 12:35:58 -03:00
itemsearch.pl Bug 18961: Use exact match for select filters on item search 2017-10-20 15:58:21 -03:00
labeledMARCdetail.pl
MARCdetail.pl
moredetail.pl
search-history.pl
search.pl Bug 19807: Make IntranetCatalogSearchPulldown honor IntranetNumbersPreferPhrase 2018-01-02 12:58:55 -03:00
showmarc.pl
updateitem.pl Bug 12363: Add a switch to mark|do not mark items as returned when lost 2017-10-27 13:57:14 -03:00