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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 11 May 2023 15:54:12 +0000 (16:54 +0100)
commit3879855db9b57e5b0d2f96ff83f3cfecea4a1dda
tree314fc2dd02fb69ddd1d9e9097dd7f05da3904cf1
parent278d0bf18a6169b7b5b6b304df318b38fca1894c
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>
(cherry picked from commit 2adcd3b828c3bb6518933290efe0c0de1d8f61f9)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
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