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

--- Comment #2 from Marcel de Rooy <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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