The id for the OPAC course details page is 'opac-main', but it should have a specific one.
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
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>
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>
Nice work! Pushed to master for 19.11.00
backported to 19.05.x for 19.05.06
Backported to 18.11.x for 18.11.12