[Koha-bugs] [Bug 21232] Problems when linking a subscription to a non-existing biblionumber

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 19 16:45:10 CET 2019


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

ByWater Sandboxes <bws.sandboxes at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #96245|0                           |1
        is obsolete|                            |

--- Comment #10 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 96489
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96489&action=edit
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 at interleaf.ie>

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


More information about the Koha-bugs mailing list