Bug 23952

Summary: Fix body id on OPAC course details page
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: Course reservesAssignee: Katrin Fischer <katrin.fischer>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low CC: hayleypelham, lucas
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
19.11.00, 19.05.06, 18.11.12
Attachments: Bug 23952: Fix body tag on OPAC course details page
Bug 23952: Fix body tag on OPAC course details page
Bug 23952: Fix body tag on OPAC course details page

Description Katrin Fischer 2019-11-02 15:24:35 UTC
The id for the OPAC course details page is 'opac-main', but it should have a specific one.
Comment 1 Katrin Fischer 2019-11-02 15:28:45 UTC
Created attachment 94969 [details] [review]
Bug 23952: Fix body tag on OPAC course details page

The id was not changed, when the page was added and
remained opac-main. The patch changes it to
opac-course-details so the page has its own unique id.

To test:
- Add a course reserve to your installation
- Go to the course reserves page in the OPAC
- Click on the course to see its details
- Look at the source code, the <body> tag should show:
  Without patch: opac-main
  with patch applied: opac-course-details
Comment 2 Séverine Queune 2019-11-04 10:36:57 UTC
Created attachment 94994 [details] [review]
Bug 23952: Fix body tag on OPAC course details page

The id was not changed, when the page was added and
remained opac-main. The patch changes it to
opac-course-details so the page has its own unique id.

To test:
- Add a course reserve to your installation
- Go to the course reserves page in the OPAC
- Click on the course to see its details
- Look at the source code, the <body> tag should show:
  Without patch: opac-main
  with patch applied: opac-course-details

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Comment 3 Jonathan Druart 2019-11-07 11:18:17 UTC
Created attachment 95141 [details] [review]
Bug 23952: Fix body tag on OPAC course details page

The id was not changed, when the page was added and
remained opac-main. The patch changes it to
opac-course-details so the page has its own unique id.

To test:
- Add a course reserve to your installation
- Go to the course reserves page in the OPAC
- Click on the course to see its details
- Look at the source code, the <body> tag should show:
  Without patch: opac-main
  with patch applied: opac-course-details

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 4 Martin Renvoize 2019-11-07 13:27:32 UTC
Nice work!

Pushed to master for 19.11.00
Comment 5 Lucas Gass 2019-12-12 00:10:28 UTC
backported to 19.05.x for 19.05.06
Comment 6 Hayley Pelham 2019-12-17 03:14:19 UTC
Backported to 18.11.x for 18.11.12