Koha/catalogue
Jonathan Druart 0633590f55 Bug 28213: Prevent crash if patron or club deleted after search to hold
Deleting a patron or patron club causes server error on searching.

To recreate:
- create a club template
- create a club
- enroll a patron in the club
- from the clubs page, select Search To Hold for your club
- do a search, see that it says "Hold for [club name]" in your search results page
- go back to the clubs page and delete your club
- try to perform a search
=> Without this patch you get "Can't call method "name" on an undefined value at /kohadevbox/koha/catalogue/search.pl line 207"

Same when placing a hold for a patron (check the search result and the
detail pages)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-04-28 11:07:06 +02:00
..
detail.pl Bug 28213: Prevent crash if patron or club deleted after search to hold 2021-04-28 11:07:06 +02:00
export.pl Bug 24108: Make export file names consistent 2021-02-17 16:28:25 +01:00
getitem-ajax.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
image.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
imageviewer.pl Bug 28178: Display the correct image in the image viewer 2021-04-27 16:23:49 +02:00
ISBDdetail.pl Bug 26707: Split cart and lists button on bibliographic detail pages 2021-01-04 16:31:29 +01:00
issuehistory.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
item-export.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
itemsearch.pl Bug 26032: (follow-up) show 'is new' filter only if items.new_status is used 2020-11-04 12:59:32 +01:00
labeledMARCdetail.pl Bug 26707: Split cart and lists button on bibliographic detail pages 2021-01-04 16:31:29 +01:00
MARCdetail.pl Bug 26707: Split cart and lists button on bibliographic detail pages 2021-01-04 16:31:29 +01:00
moredetail.pl Bug 26707: Split cart and lists button on bibliographic detail pages 2021-01-04 16:31:29 +01:00
search-history.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
search.pl Bug 28213: Prevent crash if patron or club deleted after search to hold 2021-04-28 11:07:06 +02:00
showmarc.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
stockrotation.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
updateitem.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00