Main Koha release repository https://koha-community.org
Find a file
Victor Grousset 12882d824e Bug 19808: Handle deleted reviewers gracefully - opac-detail
And other display issues when the patron was NULL.
Which allows to keep the review even if it has no patron.
Because it might be useful.

For example when disconnected, the borrowernumber is null. So the
comments from deleted patrons were displayed as if the disconnected
user wrote them. So it had the edit button...

And fix borrowernumber not being passed to the template when
OpacStarRatings was false.

Test plan
1. Log in as a patron
2. Leave a comment/review on a record
3. Librarian: approve this comment
4. Delete the borrower
5. See the record (opac:/cgi-bin/koha/opac-detail.pl?biblionumber=RELEVANT_BIB_NUMBER)
6. Then you should see an error
7. Apply this patch
8. Refresh the page
9. Then you should see the record page with the comment

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

Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk>

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-12-21 11:07:37 -03:00
acqui Bug 17182: (QA follow-up) Fix call to GetMarcBiblio 2017-12-11 14:30:43 -03:00
admin Bug 12227: Remove the demo functionality 2017-12-11 11:34:20 -03:00
api/v1 Bug 19410: (follow-up) Add reserved params definitions 2017-12-11 17:46:59 -03:00
authorities
basket
C4 Bug 19713: Remove 2 occurences of OpacShowLibrariesPullDownMobile 2017-12-20 13:34:09 -03:00
catalogue
cataloguing
circ Bug 19746: Remove debug statements in returns.pl 2017-12-11 14:30:42 -03:00
clubs
course_reserves
debian
docs Bug 7143: Update about page for new dev - Isabel Grubi 2017-12-20 13:52:44 -03:00
errors
etc
ill
installer Bug 19514: Implement password restrictions into onboarding tool 2017-12-14 16:57:56 -03:00
Koha Bug 18330: (follow-up) Do not return undef explicitely 2017-12-18 12:16:19 -03:00
koha-tmpl Bug 19808: Handle deleted reviewers gracefully - opac-detail 2017-12-21 11:07:37 -03:00
labels
members Bug 11210: Writeoff partial amounts 2017-12-11 14:30:42 -03:00
misc Bug 19444: Do not auto renew if patron is expired and BlockExpiredPatronOpacActions is set 2017-12-18 12:16:26 -03:00
offline_circ
opac Bug 19808: Handle deleted reviewers gracefully - opac-detail 2017-12-21 11:07:37 -03:00
OpenILS
patron_lists
patroncards
plugins
reports
reserve
reviews
rotating_collections
serials Bug 19315: Prevent crash if no items and not library set for the subscription 2017-12-21 10:51:03 -03:00
services
skel
suggestion
svc
t Bug 19713: Remove 2 occurences of OpacShowLibrariesPullDownMobile 2017-12-20 13:34:09 -03:00
tags
test
tmp/modified_authorities
tools
virtualshelves
xt
.editorconfig
.htaccess
.mailmap
about.pl Bug 19542: (QA follow-up) Remove debug warn 2017-12-11 14:30:42 -03:00
changelanguage.pl
edithelp.pl
fix-perl-path.PL
help.pl
INSTALL
install-CPAN.pl
Koha.pm Bug 19278: DBRev 17.12.00.004 2017-12-11 17:46:59 -03:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL
MANIFEST.SKIP
README
README.md
README.robots
rewrite-config.PL

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

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

Note: This is a synced mirror of the official Koha repo.

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