[Koha-bugs] [Bug 20934] Biblio checkout history shows only current checkout

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 13 18:34:59 CEST 2018


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 76043
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=76043&action=edit
Bug 20934: Fix display of old checkouts in the checkout history page

Again a regression caused by
  commit fa54100dffe092e606f79b15692eedaf78f42e45
  Bug 18403: Use patron-title.inc when hidepatronname is used [SPECIFIC for
issuehistory]

GetBiblioIssues does a union all with issues and old_issues, so we
should old_issues as well.
To make the join on the items table we need to define the item and
patron methods. For consistency the relationships have been redefined
(item instead of itemnumber, borrower instead of borrowernumber) in the
DBIx::Class definition.

This is not perfect but I think the best way to provide an easy to
backport patch.

It highlights that we need improvements in this area.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list