Main Koha release repository https://koha-community.org
Find a file
Nick Clemens ae76d7626b Bug 26298: Don't set too_many_items_to_process if equal to limit
In the code we prepare items for display if less than or equal to the pref, but we don't allow
the edit if greater than or equal to the pref. The second case should be only 'greater than'

To test:
 1- Set MaxItemsToProcessForBatchMod to 1000
 2- Go to Reports
 3- Make a report for itemnumbers that will give you at least 1000 items (ex. SELECT itemnumber FROM items)
 4- Save and run the report
 5- In "Rows per page", choose 1000
 6- Click on "Batch operations with 1000 visible records" > Batch item modification
 7- Notice that the item modification form isn't there and that the message says "Too many items (1000): You are not allowed to edit more than 1000 items in a batch."
 8- Apply patch
 9- Restart all the things
10- Run the report again and display 1000 rows
11- Click on "Batch operations with 1000 visible records" > Batch item modification
12 - Sucess!

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-02-01 16:36:38 +01:00
acqui Bug 20212: Use the DT column filtering provided by the wrapper 2021-01-28 16:44:40 +01:00
admin Bug 17364: Add ability to exclude some columns from selection for system preferences 2021-02-01 16:36:36 +01:00
api Bug 27251: Rewrite QOTD with the Koha REST API 2021-01-29 09:03:45 +01:00
authorities
basket
bin
C4 Bug 27204: Fix end boundary index, never return results for non-existant accountlines 2021-02-01 16:32:39 +01:00
catalogue Bug 26707: Split cart and lists button on bibliographic detail pages 2021-01-04 16:31:29 +01:00
cataloguing
circ
clubs
course_reserves
debian Bug 26048: Use ErrorDocument middleware for Plack HTTP errors 2021-01-27 10:30:43 +01:00
docs Bug 7143: Update about page for new devs 2021-01-22 14:59:27 +01:00
errors Bug 26048: Use ErrorDocument middleware for Plack HTTP errors 2021-01-27 10:30:43 +01:00
etc
ill
installer Bug 27530: Set correct dateofbirth for 'C' 2021-02-01 16:32:39 +01:00
Koha Bug 27580: Handle NULL values correctly in Koha::Items->filter_by_visible_in_opac 2021-02-01 16:15:24 +01:00
koha-tmpl Bug 27261: exlude branchcode from PatronSelfRegistrationBorrowerUnwantedField 2021-02-01 16:36:38 +01:00
labels
members
misc Bug 27486: Rename system preference delimiter to CSVDelimiter 2021-01-29 09:03:45 +01:00
offline_circ
opac Bug 27450: Remove password from the mandatory fields when editing details 2021-02-01 16:32:39 +01:00
patron_lists
patroncards
plugins
pos
reports Bug 27486: Rename system preference delimiter to CSVDelimiter 2021-01-29 09:03:45 +01:00
reserve
reviews
rotating_collections
serials Bug 26992: Fix serial issue and related items deletion on serial collection page 2020-11-20 08:16:02 +01:00
services
skel
suggestion
svc
t Bug 27204: Add unit tests for fine_items 2021-02-01 16:32:39 +01:00
tags
tmp/modified_authorities
tools Bug 26298: Don't set too_many_items_to_process if equal to limit 2021-02-01 16:36:38 +01:00
virtualshelves
xt Bug 26971: Remove obsolete test file translatable-templates.t 2020-11-09 11:20:43 +01:00
.editorconfig
.eslintrc.json
.gitignore
.htaccess
.mailmap Bug 26621: Adjust .mailmap to reduce the number of invalid authors 2020-10-15 12:56:30 +02:00
.perlcriticrc
.scss-lint.yml
about.pl
app.psgi
changelanguage.pl
cpanfile
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL Bug 26617: Update INSTALL file to include koha-testing-docker and Gitlab links 2020-10-15 12:56:30 +02:00
Koha.pm Bug 27486: DBRev 20.12.00.007 2021-01-29 09:03:45 +01:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL
MANIFEST.SKIP
package.json
README Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 2013-02-12 08:52:10 -05:00
README.md
README.robots
rewrite-config.PL
yarn.lock Bug 25067: Move PO file manipulation code into gulp tasks 2020-11-06 09:46:11 +01:00

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