Bug 7847: OPAC search dies with Plack
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Mon, 28 May 2012 23:27:45 +0000 (19:27 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 5 Jun 2012 13:46:20 +0000 (15:46 +0200)
commitfab56d325774fab28008e3afe5f6e1a3fae786a0
tree429b46fcad9dd5073c010de8b2e9cebee33732de
parentbee2cc9d6578116a711698dcc67eba5ddb350ee1
Bug 7847: OPAC search dies with Plack

Due to a dependency cycle between C4::Search and C4::Items, searches
in the OPAC die spectacularly under Plack. This counter-patch extends
dpavlin's solution and replaces use with require for C4::Search in
C4::Items and for C4::Items in C4::Search.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Items.pm
C4/Search.pm