Bug 14450

Summary: Stricter template name rules cause itemsearch to stop working
Product: Koha Reporter: Liz Rea <liz>
Component: Staff interfaceAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: ajm, chris, fridolin.somers, 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:
Bug Depends on: 14408    
Bug Blocks:    
Attachments: bug 14450 - itemsearch no longer working
bug 14450 - itemsearch no longer working
[SIGNED-OFF] Bug 14450 - itemsearch no longer working
Bug 14450 - itemsearch no longer working
[PASSED QA] Bug 14450 - itemsearch no longer working

Description Liz Rea 2015-06-24 09:55:27 UTC
Another side effect of this patches is that item search gets broken (3.18.x and up seems to be affected), because we have at least two templates like this:

   - catalogue/itemsearch.json.tt
   - catalogue/itemsearch.csv.tt


Originally reported by Jacek Ablewicz
Comment 1 Liz Rea 2015-06-24 09:57:19 UTC Comment hidden (obsolete)
Comment 2 Jonathan Druart 2015-06-24 10:12:53 UTC Comment hidden (obsolete)
Comment 3 Jacek Ablewicz 2015-06-24 10:13:23 UTC Comment hidden (obsolete)
Comment 4 Jonathan Druart 2015-06-24 10:14:42 UTC
(In reply to Jacek Ablewicz from comment #3)
> Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl>

Hehe, too slow Jacek ;)
Comment 5 Jonathan Druart 2015-06-24 10:16:56 UTC Comment hidden (obsolete)
Comment 6 Katrin Fischer 2015-06-24 10:33:43 UTC
Created attachment 40570 [details] [review]
[PASSED QA] Bug 14450 - itemsearch no longer working

To test:
Click Advanced search in staff client
Click the link for "Go to Item Search" at the top of the page
Do a search, you should get results. Try some combinations and make sure it works like it should.

Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl>

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Comment 7 Tomás Cohen Arazi 2015-06-24 14:34:42 UTC
Patch pushed to master.

Thanks Liz!
Comment 8 Chris Cormack 2015-06-25 21:05:36 UTC
Pushed to 3.20.x will be in 3.20.2
Comment 9 Liz Rea 2015-07-20 21:57:08 UTC
Pushed to 3.18.x, will be in 3.18.09
Comment 10 Anthony Moore 2015-08-14 06:45:26 UTC
*** Bug 14679 has been marked as a duplicate of this bug. ***