Fix for bug 2212: Searching with Itemtype limit doesn't work
authorJoshua Ferraro <jmf@liblime.com>
Wed, 18 Jun 2008 18:57:22 +0000 (13:57 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Wed, 18 Jun 2008 18:57:22 +0000 (13:57 -0500)
commitfee2ddc086bb585eadf4651703621c6eb0126f55
tree1115ce641f28b4a689e5a8585b3bd8afee2f1112
parent6c9b83fbdc0be86edeb50ecb81fd0680e724ab37
Fix for bug 2212: Searching with Itemtype limit doesn't work

The issue was that the index for itemtype is different depending
on whether you're using item-level or bib-level itemtypes. This
patch detects the system choice and sets the index properly
catalogue/search.pl
opac/opac-search.pl