Bug 20615: Add the link of number of times the authority are used in edit mode
authorGeorge Veranis <gveranis@dataly.gr>
Thu, 24 Feb 2022 15:16:19 +0000 (16:16 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 11 May 2022 01:17:18 +0000 (15:17 -1000)
commit594adf2190ebfab2efe504ae1e8e43df7f204b79
treeba5447678c8d6302b38a7bec95da47d2da3366e2
parentfa13ec2e9360ce08728644a48165d0eadda9752c
Bug 20615: Add the link of number of times the authority are used in edit mode

Currently when show an authority record you can see the count of records linked
with that authority, but when edit that authority record the that detail is
dissapeared.
Applying this patch will have that information also on edit mode of authority.

Test plan:
1) Search for an authority that is already connected with at least one record
2) On detail view of an authority you can check that authority is linked with
   x records.
3) Edit that authority and the information about in how many records that
   authority is linked is missing.
4) Apply this patch
5) Edit again that authrity and you can find now the count in how many records
   is used that authority

Signed-off-by: Marjorie Barry-Vila <marjorie.barry-vila@collecto.ca>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
authorities/authorities.pl
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt