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

David Cook <dc...@prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|oleon...@myacpl.org         |dc...@prosentient.com.au

--- Comment #1 from David Cook <dc...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to