https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19808

Jon Knight <j.p.kni...@lboro.ac.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #69853|0                           |1
        is obsolete|                            |
  Attachment #69854|0                           |1
        is obsolete|                            |
  Attachment #69855|0                           |1
        is obsolete|                            |
  Attachment #69856|0                           |1
        is obsolete|                            |
  Attachment #69926|0                           |1
        is obsolete|                            |

--- Comment #22 from Jon Knight <j.p.kni...@lboro.ac.uk> ---
Created attachment 69934
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69934&action=edit
[SIGNED-OFF] 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 <mtomp...@hotmail.com>

Signed-off-by: Jon Knight <j.p.kni...@lboro.ac.uk>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to