Loans are displayed twice in the loan history #3469
Labels
bug
Breaks something but is not blocking
client request
Issue reported by production libraries
f: circulation
Concerns the circulation interface or backend
f: professional ui
Professional interface
f: public ui
Public interface, as opposed to the professional interface
Bug description:
Since v1.18.0, the loans list in the patron history (pro UI AND public UI) shows all loans twice. Moreover, in the pro UI, there are some display bugs and errors in the javascript console. See: https://ils.test.rero.ch/professional/circulation/patron/kad001/history
Analysis
These views use the operation logs to list certain type of loans but they don't filter on the field
record.type=loan
, which also return operation logs of type "notif" since v1.18.0!Expected behavior:
Loans in the history should only be shown once and there should be no errors on this page.
Steps to Reproduce:
Go to https://ils.test.rero.ch/professional/circulation/patron/kad001/history
See double lines for loans
See JS error
Got to https://ils.test.rero.ch/global/patrons/profile (logged in as Katie)
See that loans are also doubled
Context
Server:
Version:
v1.18.0
The text was updated successfully, but these errors were encountered: