Bug 32924: Add the ability to filter agreement by logged in user
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 9 Feb 2023 13:00:56 +0000 (14:00 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 7 Mar 2023 18:03:41 +0000 (15:03 -0300)
commit2adcd3b828c3bb6518933290efe0c0de1d8f61f9
treee1f350b585a70f5cb553987ea112baa1f16f1926
parent79e4aabc31c85fc32f2f09599818fd7b4dff117f
Bug 32924: Add the ability to filter agreement by logged in user

This patch adds a new filter checkbox at the top of the agreement list
"Show only mine" that will display agreements linked with the logged in
user.

Test plan:
Create several agreements, add your current logged in user to some of
them
On the agreement list view us the new checkbox to filter the agreements
and see those where you are involved in.

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Schema/Result/ErmAgreement.pm
koha-tmpl/intranet-tmpl/prog/en/modules/erm/erm.tt
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue