[Koha-bugs] [Bug 9516] Item Availability/Data missing from OPAC tag search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 31 01:29:27 CET 2013


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

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|oleonard at myacpl.org         |dcook at prosentient.com.au

--- Comment #1 from David Cook <dcook at prosentient.com.au> ---
Created attachment 14967
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14967&action=edit
Bug 9516 - Item Availability/Data missing from OPAC tag search

Currently, an OPAC search using the "tag" and "q" query strings will have
results with no item data. Next to "Availability", it will say "No items
available:" (N.B. without reference to why the items are unavailable, like
Checked out, In transit, etc.).

The reason is that the opac-search.pl script is just pulling the marc blob
straight from the database without embedding any item data. I've used the
GetMarcBiblio sub with the embed item data option, and then converted the
resulting Marc object to us marc using the "as_usmarc" method.

---

To test:
(Before patch)
    1) Click on Tag cloud
    2) Click on any of the tags
    3) Note that all results say "Availability: No items available:"
    4) Click on any result and note the actual status of the items for that
biblio record

(Apply patch)
    1) Click on Tag cloud
    2) Click on  any of the tags
    3) Note that the results actually have the correct item availability next
to the "Availability" label.

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


More information about the Koha-bugs mailing list