[Koha-bugs] [Bug 27029] New: Detail page missing Javascript accessible biblionumber value
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Nov 16 01:11:38 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27029
Bug ID: 27029
Summary: Detail page missing Javascript accessible biblionumber
value
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: OPAC
Assignee: oleonard at myacpl.org
Reporter: dcook at prosentient.com.au
QA Contact: testopia at bugs.koha-community.org
Bug 26890 raises the point that there's no biblionumber on the detail page that
is easily Javascript accessible.
We really should be publishing the biblionumber in a feature-independent way,
so that different features can leverage the same biblionumber.
Here's my ideas so far:
1. data-biblionumber attribute in the body element
2. A RDFa schema.org identifier put in a child of the div.record element
3. Use Template::Toolkit to create a Javascript object that contains the
biblionumber as a property
4. HTML element like "<span class="label">Catalogue ID</span>: <span
id="biblionumber">1234</span>"
I'm actually kind of inclined towards #4, since I have occasionally had people
ask for the biblionumber to be published on the HTML to make it easier to see
and reference... (although more so for the Staff Interface than the OPAC
admittedly)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list