Main Koha release repository https://koha-community.org
Find a file
Jonathan Druart 2a8f84817f Bug 8246: Allow deleting record if no more items
The "Delete records if no items remain" was only available if the batch
did not contain "too many" items (see MaxItemsForBatch).
This limitation does not make any sense.

Test plan:
1/ Set MaxItemsForBatch=10
2/ Use the batch item deletion to delete 10+ items
3/ Confirm the checkbox "Delete records if no items remain" is displayed
4/ Check it
5/ Launch the job
6/ Run koha qa test tools

Verify that the records without items have been deleted also.

NOTE: My test db only had two biblios with items, so I set
      MaxItemsForBatch=1.
      Before patch, checkbox did not display.
      After patch, checkbox did display.
      This patch merely moves one line out of the IF/ELSE/END
      block, and reindents for more readability. Though, there
      is a missing <p> if you want to get picky.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-04-08 11:10:28 -03:00
acqui Bug 7480: Don't display current logged in user as basket manager 2015-04-08 11:07:29 -03:00
admin Bug 3969: Fix funds search 2015-03-31 10:12:44 -03:00
authorities Bug 11961 - This patch fix the QA critical error, fix the capitalization and the UNIMARC support. 2015-01-24 18:19:10 -03:00
basket Bug 3873: follow-up for all other pages 2015-03-31 10:52:10 -03:00
C4 Bug 13850: Fix typo in C4::Ris 2015-04-08 10:45:40 -03:00
catalogue Bug 11430: Intranet changes 2015-03-11 15:02:42 -03:00
cataloguing Bug 13648: OPAC = hidden removes pull down from edit item form 2015-03-15 08:42:09 -03:00
circ Bug 13549: Add cardnumber to overdue circulation report overdue.pl 2015-03-31 14:17:57 -03:00
course_reserves Bug 13818 - Editing and saving a course reserve displays the add item form 2015-03-25 11:25:26 -03:00
debian Bug 8050: Die if package building fails 2015-04-08 09:25:48 -03:00
docs Bug 7143: Add "developer" for all devs 2015-03-07 22:01:48 +01:00
errors Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
etc Bug 12948: Use word indexing for language (MARC21) 2015-02-20 11:51:59 -03:00
install_misc GRS-1 deprecation leftover used by jenkins 2015-01-13 15:30:31 -03:00
installer Bug 13380: Follow-up - only run database update, when it hasn't been run already 2015-04-08 11:08:20 -03:00
Koha Bug 13601: The fallback regex should contain the time part 2015-03-30 13:40:07 -03:00
koha-tmpl Bug 8246: Allow deleting record if no more items 2015-04-08 11:10:28 -03:00
labels Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
members Bug 13898: Remove CANDELETEUSER code 2015-03-31 11:45:11 -03:00
misc Bug 13068: [QA Follow-up] Remove the Talking-Tech-itiva file from atomicupdate 2015-03-31 11:30:54 -03:00
offline_circ Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
opac Bug 3873: follow-up for all other pages 2015-03-31 10:52:10 -03:00
OpenILS
patron_lists Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
patroncards Bug 13954 - Patroncards: images show inadequate rough pixelation 2015-04-08 10:44:50 -03:00
plugins Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
reports Bug 13748: Acquisition wizard: some strings not translatable 2015-03-19 14:02:36 -03:00
reserve Bug 13894: Fix if the search returns only 1 result 2015-03-30 12:56:57 -03:00
reviews Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
rotating_collections Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
selenium
serials Bug 13890 - Switch from full serials permission to 'routing' permission for reordering routing lists 2015-03-31 11:33:23 -03:00
services Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
skel
sms Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
suggestion Bug 13731: Suggestions reason does not save on updating the status 2015-03-02 15:47:24 +01:00
svc Bug 13923: The prefetch used on existing constraint 2015-04-08 10:52:10 -03:00
t Bug 13933: Fix t/DateUtils.t without DB 2015-04-01 13:10:16 -03:00
tags Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
test Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
tmp/modified_authorities
tools Bug 13938 - Staging MARC records for import fails 2015-04-08 09:42:39 -03:00
virtualshelves Bug 13343: Embed items when send a basket/shelf 2015-02-12 15:33:11 -03:00
xt Bug 13199: follow up to fix Licence and some koha-qa errors 2014-11-20 09:47:54 -03:00
.editorconfig Bug 12545: Add EditorConfig.org file to the source tree 2014-08-22 11:07:45 -03:00
.htaccess
.mailmap Bug 13314: Follow-up for m.de.rooy in .mailmap 2014-11-26 11:16:18 -03:00
about.pl Bug 13404 [QA Followup] 2015-02-09 13:42:32 -03:00
changelanguage.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
edithelp.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
fix-perl-path.PL
help.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
INSTALL
install-CPAN.pl
INSTALL.debian
INSTALL.fedora7
INSTALL.opensuse
INSTALL.ubuntu
koha_perl_deps.pl
kohaversion.pl Bug 9580: DBRev 3.19.00.019 2015-04-01 09:33:26 -03:00
LICENSE
mainpage.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
Makefile.PL Bug 13586: Remove some other occurrences 2015-03-19 14:15:07 -03:00
MANIFEST.SKIP
README Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 2013-02-12 08:52:10 -05:00
README.robots
rewrite-config.PL Bug 12031: [QA Follow-up] Undefined routine and change to koha-conf.xml 2014-10-27 10:38:11 -03:00

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 3 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/