[Koha-bugs] [Bug 33618] New: Borrowernumbers, Itemnumbers, and Biblionumbers should be readily available
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Apr 26 17:46:53 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33618
Bug ID: 33618
Summary: Borrowernumbers, Itemnumbers, and Biblionumbers should
be readily available
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: cbrannon at cdalibrary.org
QA Contact: testopia at bugs.koha-community.org
It would be helpful, for those of us working with jQuery, if Borrowernumbers,
Itemnumbers, or Biblionumbers were referenced in an attribute wherever these
things appear in pages.
For example, when doing a search, many bib records appear on search.pl, and
with those bib records, many items appear off to the side. The bib records DO
have the biblionumber in the url, but we have to work a little harder to get
that number from the url. It would be easier if it were referenced in an
attribute.
However, none of the items referenced in the results have an itemnumber
anywhere in the result. The link associated with the item is basically a call
number search. It would be very helpful to have an attribute with the
itemnumber there.
It would be great if any time we were reference a patron, a bib record, or an
item, if we could wrap them in a common wrapper, like a span or div, and have a
consistent record identifier. This way, if we need to do an API call to grab
more info, we have the one thing that would make that so much easier. Maybe
something like:
<div class="PatronElement" RecordID="BORROWERNUMBER HERE">PATRON STUFF</div>
<div class="BiblioElement" RecordID="BIBLIONUMBER HERE">BIB RECORD STUFF</div>
<div class="ItemElement" RecordID="ITEMNUMBER HERE">ITEM RECORD STUFF</div>
This would be a nice, consistent normalized format that would make life so much
easier, in my opinion.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list