Bug 7788

Summary: Tiny problems with calling GetShelf
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: ListsAssignee: Marcel de Rooy <m.de.rooy>
Status: CLOSED FIXED QA Contact: Ian Walls <koha.sekjal>
Severity: enhancement    
Priority: P5 - low CC: chris, jonathan.druart, paul.poulain
Version: 3.10   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Patch for unused calls
Patch for unused calls
Patch for addbybiblio scripts
Bug 7788: Patch for unused calls
Bug 7788: Patch for addbybiblio scripts

Description Marcel de Rooy 2012-03-22 09:24:11 UTC
First patch deals with two unused calls to GetShelf in opac/opac-downloadshelf.pl and virtualshelves/downloadshelf.pl.
Just removes them. Test by running these two scripts again.
Comment 1 Marcel de Rooy 2012-03-22 09:44:28 UTC Comment hidden (obsolete)
Comment 2 Marcel de Rooy 2012-03-22 09:50:52 UTC Comment hidden (obsolete)
Comment 3 Marcel de Rooy 2012-03-22 10:12:17 UTC
Second patch resolves incorrect call to GetShelf in opac and staff in addbybiblionumber script. It was and is harmless, because the singlecategory variable was not really used (the category$x param was ignored in the template). Just a cleanup operation.
Comment 4 Marcel de Rooy 2012-03-22 10:17:08 UTC Comment hidden (obsolete)
Comment 5 Jonathan Druart 2012-05-11 08:52:06 UTC
Created attachment 9508 [details] [review]
Bug 7788: Patch for unused calls

Cleaning code. Signed off
Comment 6 Jonathan Druart 2012-05-11 08:53:24 UTC
Created attachment 9509 [details] [review]
Bug 7788: Patch for addbybiblio scripts

Fix returns for GetShelf
Comment 7 Paul Poulain 2012-05-22 10:13:25 UTC
QA comments: tiny patches, remove some useless code, passed QA
Comment 8 Paul Poulain 2012-05-22 10:14:56 UTC
code cleaning that can be applied to 3.8 or not, at RMaint option !
Comment 9 Chris Cormack 2012-05-23 04:23:28 UTC
Harmless tidy ups, pushed to 3.8.x will be in release 3.8.2