[Koha-bugs] [Bug 34860] New framework plugin for ISBN/ISSN

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 21 08:34:45 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34860

--- Comment #2 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Added concept code for now. Not yet ready for inclusion.

The svc/isbn_count does the index search. The isbn.js includes checking the
validity of ISBN on client side.

As to hyphenation, I have chosen the following approach: LOC seems to recommend
no hyphens in 020 and one hypen in 022 for the MARC fields. When displaying you
can add the hyphens for ISBN. The code here removes the hyphens from ISBN when
searching the index and does also replace the contents of 020 when hyphens were
entered. (The current version removes additional text too..)

>From 2013 onwards, additional text should actually be in $q.

In order to make this ready for submittal, the following is probably needed:
- proper handling of $a suffixes for 020/022 (We may still assume presence.)
- allow hyphenation for ISBN in MARC (index, db) - Pref needed?
- removing code overlap between isbn/issn code in js
- prepare transition from svc script to REST API
- the red or green color approach might be replaced by an alert

Please do not hesitate to give your feedback.

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


More information about the Koha-bugs mailing list