Bug 7546 - cannot view subscription detail
authorLiz Rea <wizzyrea@gmail.com>
Wed, 15 Feb 2012 20:13:49 +0000 (14:13 -0600)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 17 Feb 2012 08:05:54 +0000 (09:05 +0100)
commit1ddc9322dfc13ef7f1e930692bfd2cb3771b102b
tree2547ab944975324672d0b6559b7d923858fe0aa5
parentc004b88f5a907227af0249bd9516ea7e868a8f76
Bug 7546 - cannot view subscription detail

This patch adds a C4::Search to subscription-detail.pl to compensate for a removed
one from auth.pm during the denesting effort.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Bug 7546 Do not call routine as bareword

Fixes compilation errors due to calling routine without parens
Also nothing was gained (and obfuscation added) by forcing
the return into a hash ref have changed variable to hash
tidied up the if else chain

These routines should be refactored out future

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
bug 7546 follow-up, enabled_staff_search_views problem

* enabled_staff_search_views was not exported by C4::Search, should have been
* serials/serials-edit.pl were also missing it

Comments:
* checked with for file in */*.pl; do perl -wc $file; done that no script was still having this problem

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Final sign off for all 3 patches
Note: I had some problems with tests, but it is probably related to my data and not this patch.
C4/Search.pm
serials/serials-edit.pl
serials/subscription-detail.pl