|
While working on
UIU-1942
Closed
(now
UIU-1942
Closed
) the Vega team discovered that much of the manual patron block business logic taking place in the front-end should be in the back-end (as was discovered with the fee/fine 'actions' earlier).
Here is the comment left by the dev on
UIU-1942
Closed
(now
UIU-1942
Closed
)...
Expired manual blocks are being cleared by frontend (not backend!). And it only happens when you input blocked patron's barcode on checkout screen or request creation screen. They are not cleared during renewal. Until you do that, the expired block will live and be visible as banner and icon on user details page as described in
UIU-1943
Closed
. We can follow the same approach and let frontend clear (or just hide) expired blocks the moment User Details page is being opened, but ideally this logic should be moved to backend. And as you already know by our recent mod-feesfines refactoring, this process is not quick and easy.
|