-$template->param ( OpacSuppressionMessage => C4::Context->preference('OpacSuppressionMessage')); This line is useless now that OpacSuppressionMessage comes from additional_contents, not a sys pref.
Created attachment 161662 [details] [review] Bug 35952: Remove unnecessary line for OpacSuppressionMessage To test: 1. Apply patch and restart all 2. Add an additional contetn entry for `OpacSuppressionMessage`, make sure it has a publication date in the past. 3. Make sure OpacSuppression is set to 'hide'. 4. Suppress a record in the OPAC, ( 942$n ) 5. Visit the detail page for that record and make sure you OpacSuppressionMessage customization displays.
Created attachment 161681 [details] [review] Bug 35952: Remove unnecessary line for OpacSuppressionMessage To test: 1. Apply patch and restart all 2. Add an additional contetn entry for `OpacSuppressionMessage`, make sure it has a publication date in the past. 3. Make sure OpacSuppression is set to 'hide'. 4. Suppress a record in the OPAC, ( 942$n ) 5. Visit the detail page for that record and make sure you OpacSuppressionMessage customization displays. Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 162237 [details] [review] Bug 35952: Remove unnecessary line for OpacSuppressionMessage To test: 1. Apply patch and restart all 2. Add an additional contetn entry for `OpacSuppressionMessage`, make sure it has a publication date in the past. 3. Make sure OpacSuppression is set to 'hide'. 4. Suppress a record in the OPAC, ( 942$n ) 5. Visit the detail page for that record and make sure you OpacSuppressionMessage customization displays. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Pushed for 24.05! Well done everyone, thank you!
Bug 34894 moved preference to HTML customization
Pushed to 23.11.x for 23.11.04
Backported to 23.05.x for upcoming 23.05.10