]> git.koha-community.org Git - koha.git/commit
Bug 6379: Fix if the reviewer is not the same patron
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 10 Jul 2015 10:56:14 +0000 (11:56 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 5 Oct 2015 15:27:44 +0000 (12:27 -0300)
commit26383113d0cc7edf58458795349b252dfbee25c6
tree179f95ef55a7989a8f0d596bb5ffdfb80e6e48e2
parent1489bb7342f3e4391b598b80ea368cb03ff325a5
Bug 6379: Fix if the reviewer is not the same patron

get_approval_rows does a left join on tags_approval.approved_by =
borrowers.borrowernumber

This means it cannot return the approval tags for a given patron.

Note that this patch could be time-consuming if there is a lot of tags
in the DB.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
opac/opac-tags.pl