Go to file
Nick Clemens cd66aa48de Bug 28255: Follow up to bug 23463 - use item_object in misc/cronjobs/delete_items.pl
This looks like just an assumption that the $item variable was an object

Correct the code to use $item_object

To test:
1 - perl misc/cronjobs/delete_items.pl -where="barcode LIKE '%8'" --commit --verbose
2 - Can't call method "safe_delete" on unblessed reference at /usr/share/koha/bin/cronjobs/delete_items.pl line 67.
3 - Apply patch
4 - Repeat
5 - Success! You deleted a bunch of items

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 423421eb64)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit bac2651c60)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
2021-05-25 14:21:24 +00:00
C4 Bug 27837: (follow-up) Do not check subfield unless tag defined 2021-05-25 14:10:04 +00:00
Koha Bug 27724: Use lenient also in Elasticsearch authorities search 2021-05-25 14:04:35 +00:00
acqui Bug 27828: (bug 24469 follow-up) Add missing import 2021-03-14 18:59:56 +00:00
admin Bug 28207: Fix biblio_framework.frameworktext isn't in GROUP BY 2021-05-25 11:54:25 +00:00
api/v1 Bug 28248: aqorders.created_by is nullable 2021-05-25 13:30:04 +00:00
authorities Bug 24663: Remove authnotrequired if set to 0 2020-08-31 20:03:22 +00:00
basket Bug 24663: Remove authnotrequired if set to 0 2020-08-31 20:03:22 +00:00
catalogue Bug 28213: Prevent crash if patron or club deleted after search to hold 2021-05-24 19:09:30 +00:00
cataloguing Bug 27739: Advanced editor should use DefaultCountryField008 preference 2021-04-25 16:04:42 +00:00
circ Bug 25760: (bug 15422 follow-up) Display record with hold ratio greater than or equal to the value entered 2021-05-25 13:00:09 +00:00
clubs Bug 24663: Remove authnotrequired if set to 0 2020-08-31 20:03:22 +00:00
course_reserves Bug 24663: Remove authnotrequired if set to 0 2020-08-31 20:03:22 +00:00
debian Bug 28302: Update packages to ignore CGI::Compile 0.24 (2) 2021-05-25 13:37:12 +00:00
docs Bug 28244: Fix typo in Ukrainian in history 2021-05-25 11:38:39 +00:00
errors Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
etc Bug 8426: Diacritics not being mapped for searching 2021-03-23 12:43:26 +00:00
ill Bug 23173: (follow-up) Small improvements in efficiency 2020-04-06 11:05:09 +01:00
installer Bug 28298: fix DB update 19.12.00.076 2021-05-25 12:14:30 +00:00
koha-tmpl Bug 28351: (bug 26261) Fix datepicker for dateformat ne mm/dd/yyyy 2021-05-25 13:59:49 +00:00
labels Bug 24663: Remove authnotrequired if set to 0 2020-08-31 20:03:22 +00:00
members Bug 26940: don't reset debarredcomment on patron update 2021-05-24 15:31:19 +00:00
misc Bug 28255: Follow up to bug 23463 - use item_object in misc/cronjobs/delete_items.pl 2021-05-25 14:21:24 +00:00
offline_circ Bug 26675: (bug 23463 follow-up) Fix typo onloadn vs onloan 2020-11-10 22:49:05 +00:00
opac Bug 28241: Fix regex to allow for content before and after comma 2021-05-25 13:07:46 +00:00
patron_lists Bug 24663: Remove authnotrequired if set to 0 2020-08-31 20:03:22 +00:00
patroncards Bug 24663: Remove authnotrequired if set to 0 2020-08-31 20:03:22 +00:00
plugins Bug 24633: Add support for gitlab searching of plugins 2020-11-16 22:21:01 +00:00
pos Bug 28181: Filter out archived debit types in point of sale 2021-05-25 12:38:29 +00:00
reports Bug 7806: [20.05] Fix remaining occurrences of 0000-00-00 2021-03-08 14:26:22 +00:00
reserve Bug 28229: Count only if needed 2021-05-25 12:36:15 +00:00
reviews Bug 24663: Remove authnotrequired if set to 0 2020-08-31 20:03:22 +00:00
rotating_collections Bug 24663: Remove authnotrequired if set to 0 2020-08-31 20:03:22 +00:00
serials Bug 7806: [20.05] Fix remaining occurrences of 0000-00-00 2021-03-08 14:26:22 +00:00
services
…
skel
…
suggestion Bug 7806: [20.05] Fix remaining occurrences of 0000-00-00 2021-03-08 14:26:22 +00:00
svc Bug 27061: Remove duplicate permission check in svc/mana/search 2021-05-25 11:45:05 +00:00
t Bug 27837: Check the MARC directly, not the transformed item 2021-05-25 14:09:38 +00:00
tags Bug 24663: Remove authnotrequired if set to 0 2020-08-31 20:03:22 +00:00
tmp/modified_authorities
…
tools Bug 21818: Replace AutoCommit flag with DBIx transaction in stage-marc-import.pl 2021-05-24 18:24:09 +00:00
virtualshelves Bug 24663: Remove authnotrequired if set to 0 2020-08-31 20:03:22 +00:00
xt Bug 26265: add a plan for tests 2020-09-02 14:32:44 +00:00
.editorconfig Bug 24774: Set JSON indentation of 2 spaces in .editorconfig 2020-03-19 09:24:52 +00:00
.eslintrc.json
…
.gitignore
…
.htaccess
…
.mailmap
…
.perlcriticrc Bug 21395: Make perlcritic happy 2020-07-13 16:44:43 +00:00
.scss-lint.yml
…
INSTALL
…
Koha.pm Bug 28244: DBRev 20.05.11.004 2021-05-25 11:42:52 +00:00
LICENSE
…
MANIFEST.SKIP
…
Makefile.PL Bug 26265: Add missing xt dir 2020-09-02 14:32:13 +00:00
README
…
README.md Bug 27092: Remove note about "synced repo" from README.md 2020-12-14 15:32:15 +00:00
README.robots
…
about.pl Bug 25826: Add a warning to the about page 2021-01-13 21:59:36 +00:00
changelanguage.pl
…
cpanfile Bug 28302: Forbid CGI::Compile 0.24 2021-05-25 13:35:24 +00:00
fix-perl-path.PL Bug 21395: Make perlcritic happy 2020-07-13 16:44:43 +00:00
gulpfile.js Bug 26228: Update gulpfile to work with Node.js v12 2020-09-03 14:49:31 +00:00
help.pl
…
koha_perl_deps.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
kohaversion.pl
…
mainpage.pl Bug 24663: Remove authnotrequired if set to 0 2020-08-31 20:03:22 +00:00
package.json Bug 26228: Update gulpfile to work with Node.js v12 2020-09-03 14:49:31 +00:00
rewrite-config.PL Bug 25792: Rename 'ttf-dejavu' package to 'fonts-dejavu' for Debian 11 2020-07-28 14:46:44 +00:00
yarn.lock Bug 26228: Update gulpfile to work with Node.js v12 2020-09-03 14:49:31 +00: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