Go to file
Brendan Lawlor 9285dddcef
Bug 38174: Fix self checkout alerts for non batch checkouts
This patch adds a check for batch_checkouts_allowed to SCO.

If not using batch checkout, only the most recent chekout should be
rendered as an alert, instead of all the new issues for the session.

This makes the input box consitently render in the same position.

To replicate:
1. Login as self_checkout to localhost:8080/cgi-bin/koha/sco/sco-main.pl
2. Login as a patron to make self checkouts
3. Check many items out and notice an additional alert is rendered
    for each checkout, eventually pushing the barcode input off screen.

To test:
1. Apply patch and restart_alll
2. Login as a patron to make self checkouts
3. Check many items out
4. Notice only the most recent checkout is rendered as an info alert
5. Confirm the Checkouts table below still loads all checkouts
6. In Admin set BatchCheckouts to 'Allow'
7. Set SCOBatchCheckoutsValidCategories to 'Select all'
8. Login to sco as a patron and enter a newline delimited list of barcodes
9. Confirm that an alert is rendered for each checkout in the batch

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit db120bb6e5)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-04-22 23:02:27 +02:00
C4 Bug 8425: Increment the barcode on each call of set_barcode() 2025-04-22 23:02:11 +02:00
Koha Bug 38932: Make adding a credit return the Location header 2025-04-22 23:02:25 +02:00
acqui Bug 39044: Pass budgets to template 2025-03-24 18:13:01 +01:00
admin Bug 38954: Hide checkout type using colvis 2025-04-22 23:02:19 +02:00
api Bug 38926: Make POST /biblios return 400 if AddBiblio fails 2025-04-22 23:02:13 +02:00
authorities Bug 36603: (QA follow-up) Resolve two conditional declarations 2024-11-08 16:42:53 +01:00
basket Bug 31224: Update instances of metadata->record 2024-11-07 16:29:23 +01:00
bin
…
bookings
…
catalogue Bug 38846: Only call getLanguages for advanced search pages 2025-04-22 23:01:34 +02:00
cataloguing Bug 8425: Increment the barcode on each call of set_barcode() 2025-04-22 23:02:11 +02:00
circ Bug 39183: Only check unresolved claims 2025-03-24 18:12:58 +01:00
clubs
…
course_reserves Bug 28762: Use Koha::Course in course-details controller 2024-07-23 16:04:05 +01:00
debian Bug 36229: Move koha-run-backups to the top of the cron 2025-04-22 23:01:44 +02:00
docs 24.11.04: Update contributors.yaml 2025-04-22 23:01:05 +02:00
erm
…
errors Bug 37741: Do not send cookie back from error pages 2024-08-30 12:45:45 +02:00
etc Bug 22415: Add new log config for EDI 2025-04-17 14:30:34 +02:00
ill Bug 35570: Prevent use of ILL module if deprecated FreeForm backend is installed 2024-10-31 08:05:21 +01:00
installer Bug 38471: update "Field suppresion" to "Field suppression" 2025-04-22 23:01:46 +02:00
koha-tmpl Bug 38174: Fix self checkout alerts for non batch checkouts 2025-04-22 23:02:27 +02:00
labels Bug 30745: (QA follow-up) tidy 2024-11-18 17:44:31 +01:00
lib Bug 35681: Use ::Bootstrap version of FromANSI 2024-05-02 16:47:39 +02:00
members Bug 28633: Add preferred name field to patrons 2024-11-11 14:12:09 +01:00
misc Bug 29238: Cataloging cron jobs are not logged 2025-04-22 23:02:26 +02:00
offline_circ
…
opac Bug 38846: Only call getLanguages for advanced search pages 2025-04-22 23:01:34 +02:00
patron_lists Bug 37266: [24.11.x] patron_lists/delete.pl should have CSRF protection 2025-02-24 19:30:42 +01:00
patroncards Bug 37614: Printing patron cards from patron lists should be a GET 2024-08-16 17:33:45 +02:00
plugins
…
pos
…
preservation Bug 38089: (follow-up) More fixes for errors in original submission 2024-10-11 11:13:47 +02:00
recalls Bug 38089: (follow-up) More fixes for errors in original submission 2024-10-11 11:13:47 +02:00
reports Bug 37784: (QA follow-up) Bail out to new definition 2025-03-24 17:59:10 +01:00
reserve Bug 37427: Fix club search to display all clubs when search field is empty, consistent with patron search behavior 2025-02-13 10:04:54 +01:00
reviews Bug 2486: Show user comments in staff interface 2024-08-26 17:39:42 +02:00
rotating_collections
…
serials Bug 29818: Cannot save subscription frequency without display order 2024-11-18 17:44:35 +01:00
services
…
skel
…
suggestion Bug 33484: Fix for suggestions 2024-10-28 17:10:26 +01:00
svc Bug 31224: Update instances of metadata->record 2024-11-07 16:29:23 +01:00
t Bug 38932: Regression tests 2025-04-22 23:02:25 +02:00
tags Bug 37826: Remove the use of the script_name variable where it is unnecessary 2025-03-24 18:12:47 +01:00
tools Bug 37826: Remove the use of the script_name variable where it is unnecessary 2025-03-24 18:12:47 +01:00
virtualshelves Bug 31224: Update instances of metadata->record 2024-11-07 16:29:23 +01:00
xt Bug 38929: Add 2 exceptions 2025-04-22 23:02:24 +02:00
.editorconfig
…
.eslintrc.json
…
.gitignore Bug 35402: Update the OPAC and staff interface to Bootstrap 5 2024-08-23 15:58:41 +02:00
.htaccess
…
.mailmap 24.11.00: Update .mailmap 2024-11-25 13:16:42 +01:00
.perlcriticrc
…
.perltidyrc
…
.prettierrc.js
…
.proverc.dist
…
.stylelintrc.json
…
INSTALL
…
Koha.pm Increment version for 24.11.03 release 2025-03-24 18:13:13 +01:00
LICENSE
…
MANIFEST.SKIP
…
Makefile.PL Bug 38779: Add built record sources assets on install 2025-02-04 21:56:03 +01:00
README
…
README.md
…
README.robots
…
about.pl Bug 36039: (QA follow-up): Improve audit messages 2025-03-24 18:12:31 +01:00
app.psgi Bug 36149: Add userenv middleware to app.psgi 2024-05-14 15:04:37 -03:00
build-resources.PL
…
changelanguage.pl
…
cpanfile Merge remote-tracking branch 'upstream/24.11.x' into 24.11.x-security 2025-02-26 19:24:37 +01:00
cypress.config.ts
…
fix-perl-path.PL
…
gulpfile.js Bug 36640: (follow-up) CSS fixes for DataTables controls 2024-11-14 14:19:34 +01:00
help.pl
…
kohaversion.pl
…
mainpage.pl Bug 36064: (QA follow-up) Simplify and tidy 2024-10-25 11:09:51 +02:00
package.json Bug 38503: Read patron swagger spec file and implement buildSamplePatron 2025-04-22 23:01:48 +02:00
rewrite-config.PL
…
rspack.config.js Bug 37824: (QA follow-up) Fix improper handling of jQuery and DataTables libraries by marking them as externals 2024-09-16 18:41:17 +02:00
tsconfig.json
…
webpack.config.js
…
yarn.lock Bug 38503: Update yarn.lock 2025-04-22 23:01:53 +02:00

README.md

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo