-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
operation logs: untrack some changes. #2395
Conversation
89a1aa4
to
4c5a217
Compare
4c5a217
to
e82ce2a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit message proposition:
operation logs: untrack some changes
* Some changes should not be tracked by an operation log (!= an
operation log for loan history). If a circulation operation is done,
this will change the related item status, but should not generate an
operation log as it will be shown in the operation history on resource
such as item or document. Furthermore, the circulation operation are
already tracked.
* Use the Invenio extensions to manage operation log creation.
* Closes rero/rero-ils#1779.
e82ce2a
to
e6c29ea
Compare
Nice job! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to have an api end or cli function to display the operation logs ordered by date for a given type and pid.
* Some changes should not be tracked by an operation log (!= an operation log for loan history). If a circulation operation is done, this will change the related item status, but should not generate an operation log as it will be shown in the operation history on resource such as item or document. Furthermore, the circulation operation are already tracked. * Use the Invenio extensions to manage operation log creation. * Closes rero#1779. Co-Authored-by: Renaud Michotte <[email protected]>
e6c29ea
to
8380f0e
Compare
operation is done, this will change the related item status. This
change should not be generate an operation log.
Co-Authored-by: Renaud Michotte [email protected]
Code review check list