Bug 24220

Summary: Convert OpacMoreSearches system preference to news block
Product: Koha Reporter: Owen Leonard <oleonard>
Component: OPACAssignee: Lucas Gass <lucas>
Status: RESOLVED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: josef.moravec, kyle, lucas, testopia
Version: master   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25490
Change sponsored?: --- Patch complexity: Small patch
Text to go in the release notes:
Version(s) released in:
22.05.00
Bug Depends on: 22880, 27451    
Bug Blocks: 26050    
Attachments: Bug 24220: Move OpacMoreSearches to HTML customizations in additional-contents
Bug 24220: Move OpacMoreSearches to HTML customizations in additional-contents
Bug 24220: Move OpacMoreSearches to HTML customizations in additional-contents
Bug 24220: Move OpacMoreSearches to HTML customizations in additional-contents

Description Owen Leonard 2019-12-11 19:16:09 UTC
Building on 22318, the OpacMoreSearches system preference should be converted to a Koha news block.
Comment 1 Lucas Gass 2022-01-14 01:09:38 UTC
Created attachment 129456 [details] [review]
Bug 24220: Move OpacMoreSearches to HTML customizations in additional-contents

To test:
1- Before applying the patch add some content to the system preference OpacMoreSearches
2- Apply patch
3- restart_all and updatedatabase
4. Go to additional-content.pl ( HTML customizations )
5. You should now see your content from the system preference under OpacMoreSearches in HTML customizations
6. Try searching for the system preference, OpacMoreSeaches. It has been removed and you should not be able to find it.
7. Try changing/removing/adding content from OpacMoreSearches in HTML customizations
8. Make sure your edits are reflected when you look at the OpacMoreSearch area in the OPAC.
Comment 2 Lucas Gass 2022-01-14 01:21:58 UTC
Created attachment 129457 [details] [review]
Bug 24220: Move OpacMoreSearches to HTML customizations in additional-contents

To test:
1- Before applying the patch add some content to the system preference OpacMoreSearches
2- Apply patch
3- restart_all and updatedatabase
4. Go to additional-content.pl ( HTML customizations )
5. You should now see your content from the system preference under OpacMoreSearches in HTML customizations
6. Try searching for the system preference, OpacMoreSeaches. It has been removed and you should not be able to find it.
7. Try changing/removing/adding content from OpacMoreSearches in HTML customizations
8. Make sure your edits are reflected when you look at the OpacMoreSearch area in the OPAC.
Comment 3 Owen Leonard 2022-01-14 13:23:08 UTC
Created attachment 129480 [details] [review]
Bug 24220: Move OpacMoreSearches to HTML customizations in additional-contents

To test:
1- Before applying the patch add some content to the system preference
   OpacMoreSearches
2- Apply patch
3- restart_all and updatedatabase
4. Go to additional-content.pl ( HTML customizations )
5. You should now see your content from the system preference under
   OpacMoreSearches in HTML customizations
6. Try searching for the system preference, OpacMoreSeaches. It has been
   removed and you should not be able to find it.
7. Try changing/removing/adding content from OpacMoreSearches in HTML
   customizations
8. Make sure your edits are reflected when you look at the
   OpacMoreSearch area in the OPAC.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Comment 4 Jonathan Druart 2022-01-28 09:18:35 UTC
Created attachment 129920 [details] [review]
Bug 24220: Move OpacMoreSearches to HTML customizations in additional-contents

To test:
1- Before applying the patch add some content to the system preference
   OpacMoreSearches
2- Apply patch
3- restart_all and updatedatabase
4. Go to additional-content.pl ( HTML customizations )
5. You should now see your content from the system preference under
   OpacMoreSearches in HTML customizations
6. Try searching for the system preference, OpacMoreSeaches. It has been
   removed and you should not be able to find it.
7. Try changing/removing/adding content from OpacMoreSearches in HTML
   customizations
8. Make sure your edits are reflected when you look at the
   OpacMoreSearch area in the OPAC.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 5 Fridolin Somers 2022-02-01 07:56:38 UTC
Pushed to master for 22.05, thanks to everybody involved 🦄