Bug 33247: Flag the authority pending deletion in the result list
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 11 May 2023 11:48:50 +0000 (13:48 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 5 Jun 2023 17:36:04 +0000 (14:36 -0300)
commitc58bae15ea44a34e48fe0e821612030ce2c52d01
tree6c1f3584a977f4b558443ca6fa6c37ec55226444
parentb3c739872a7171e049506c7c2af6c67abda181d0
Bug 33247: Flag the authority pending deletion in the result list

When an authority is removed from the result list it is not removed from
the search engine yet.
This patch suggests to add a note in the summary column to tell the user
that the deletion is pending.

Test plan:
1 - Go to authorities home and perform a search;
2 - Delete any authority;
3 - After the confirmation, the page is refreshed but still contains the
deleted authority, with a red note explaining that the deletion is
pending.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
authorities/authorities-home.pl
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt