Bug 37836 - Prevent submitting empty barcodes in Self check-in
Summary: Prevent submitting empty barcodes in Self check-in
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low minor
Assignee: Bosse
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-04 20:01 UTC by Bosse
Modified: 2024-09-04 23:34 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 37836 - Prevent submitting empty barcodes in Self check-in (1.63 KB, patch)
2024-09-04 20:11 UTC, Bosse
Details | Diff | Splinter Review
Bug 37836: Prevent submitting empty barcodes in Self check-in (1.69 KB, patch)
2024-09-04 23:34 UTC, Biblibre Sandboxes
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Bosse 2024-09-04 20:01:51 UTC
When pressing "Submit" on the "Self Check-in" page with the barcode field left empty, the barcode element still appears in the list.

To recreate this bug:

Enable the "SelfCheckInModule".
Open the page and press the "Submit" button.
Comment 1 Bosse 2024-09-04 20:11:30 UTC
Created attachment 171038 [details] [review]
Bug 37836 - Prevent submitting empty barcodes in Self check-in
Comment 2 Biblibre Sandboxes 2024-09-04 23:34:16 UTC
Created attachment 171040 [details] [review]
Bug 37836: Prevent submitting empty barcodes in Self check-in

This patch disbles the "Submit" button when the barcode field is empty.

To test this patch:

Add the patch to your koha clone
Enable the "SelfCheckInModule".
Open the page and the "Submit" button should be disabled when the barcode field is empty.

Signed-off-by: Sam Sowanick <sam.sowanick@corvallisoregon.gov>