[Koha-bugs] [Bug 10937] Option to hide and group itemtypes from advanced search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 28 04:10:41 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10937

--- Comment #20 from M. Tompsett <mtompset at hotmail.com> ---
Okay... that fresh install works. the update works.
the editing the itemtype stuff all seems to work.
But I can't get it to search properly.

ARTCL     Article
AUD     Audio CD
BK     Books
CF     Computer Files
CR     Continuing Resources
EBK     Ebooks, Online Resources
IM     In house Material
MP     Maps
MF     Microfiche
MX     Mixed Materials
MU     Music
REF     Reference
RPR     Reprint, VFile
TH     Thesis, Dissertation
VCD     Video CD
VM     Visual Materials

These are my item types. I took the first 8 and did a pretty 0-7 binary
combination with HARDWARE, Hide in OPAC, and Not for Loan.

I then went to the OPAC interface, clicked on Advanced Search and tried to make
sense of the Item type box. 10 things plus hardware were displayed. 16-4
(hidden in OPAC) = 12, 12-2 (not hidden in OPAC, but HARDWARE) = 10. plus
hardware. Display looks good.

I checked hardware, and then clicked the Search button at the bottom of the
page.

I got a bunch of results, but this is where it doesn't make sense. My first
result was a journal (Continuing Resources), which I had marked as no category,
not for loan, hide in OPAC. The fact that the search returned a no category,
and not the hardware category makes it seem broken.

Here is the URL (the name doesn't exist):
https://demo.library.kohasystem.ca/cgi-bin/koha/opac-search.pl?idx=kw&q=&idx=kw&q=&idx=kw&q=&limit-yr=&searchcat=HARDWARE&limit=&limit=&multibranchlimit=&sort_by=relevance&do=Search

Hmmm... I changed the sort by drop down to title A-Z and the first one was BK,
so that was expected. The result count is strangely high too, but perhaps I am
mistaken in that account. I'll check manually later. Until then, I'm leaving
this as Failed QA, because the search by relevance gave me a bad result, and I
don't know if it is this patch, or just the by relevance search in general.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list