Bug 36359

Summary: Broken OPAC mainpage layouts in 23.05.09
Product: Koha Reporter: Lucas Gass <lucas>
Component: OPACAssignee: Lucas Gass <lucas>
Status: Pushed to oldstable --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: bugzilla, cbrannon
Version: 23.05   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
23.05.09
Version(s) released in:
Bug Depends on: 34647    
Bug Blocks:    
Attachments: Bug 36359: [23.05.x] Fix bad rebase of opac-main.tt
Bug 36359: [23.05.x] Fix bad rebase of opac-main.tt

Comment 1 Lucas Gass 2024-03-19 16:16:26 UTC
Created attachment 163464 [details] [review]
Bug 36359: [23.05.x] Fix bad rebase of opac-main.tt

To test:
1. Add a OPAC news item
2. Go to the OPAC home page, view source, and copy that into an HTML validator. See errors.
3. APPLY PATCH
4. Try step 2 again, errors should be fixed.
Comment 2 Kyle M Hall 2024-03-19 16:29:23 UTC
Created attachment 163465 [details] [review]
Bug 36359: [23.05.x] Fix bad rebase of opac-main.tt

To test:
1. Add a OPAC news item
2. Go to the OPAC home page, view source, and copy that into an HTML validator. See errors.
3. APPLY PATCH
4. Try step 2 again, errors should be fixed.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 3 Christopher Brannon 2024-03-19 16:50:29 UTC
Until this hits servers, a temporary workaround:

$('#opac-main #rssnews-container').unwrap();
$('#opac-main #OpacMainUserBlock').insertAfter('#news');
$('#opac-main div.order-md-2').insertAfter('div.maincontent');
Comment 4 Lucas Gass 2024-03-19 17:11:41 UTC
Backported to 23.05.x for upcoming 23.05.10