Koha/koha-tmpl/intranet-tmpl/prog
Jonathan Druart 92c6d3511e
Bug 21232: Add a client-side check on biblionumber when creating a subscription
This patch adds an AJAX call to the REST API (/api/v1/biblios/) to
retrieve and display the biblio's title.
On clicking the "next" button a check is done to make sure the title
exists, which means the biblionumber we manually entered is valid (can
we assume a title is mandatory?)

Test plan:
- Create or edit a new subscription
- Enter an invalid biblionumber in the input
=> A friendly note is telling you that the biblio does not exist
- Try to switch to the next screen
=> You get an alert
- Enter a valid biblionumber in the input
=> The title is displayed
=> Try to switch to the next screen
=> It works!

Signed-off-by: hc <hc@interleaf.ie>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-12-23 11:06:08 +00:00
..
css Bug 24090: Subfield text in red when mandatory in record edition 2019-12-13 14:05:52 +00:00
en Bug 21232: Add a client-side check on biblionumber when creating a subscription 2019-12-23 11:06:08 +00:00
img Bug 23803: (follow-up) Remove additional references and file 2019-10-11 14:35:17 +01:00
js Bug 21232: Add a client-side check on biblionumber when creating a subscription 2019-12-23 11:06:08 +00:00
pdf
sound