TO recreate: 1. Have SyndeticsCoverImages on and Syndetics setup. 2. Do a search that will return some results with Syndetics images 3. Click on the image link and you will get a 404 4. Notice the page you are being directed to is something like: http://localhost:8081/cgi-bin/koha/catalogue/?biblionumber=117
We are attempting to pass in this template variable: [% DetailPage | url %] I can't find this anywhere else in the codebase, so maybe we should just hardcode this bit?
Created attachment 144383 [details] [review] Bug 32389: Fix Syndetics link on staff results page To test: 1. Have SyndeticsCoverImages on and Syndetics setup. 2. Do a search that will return some results with Syndetics images 3. Click on the image link and you will get a 404 4. Apply patch 5. Link works!
Created attachment 144397 [details] [review] Bug 32389: Fix Syndetics link on staff results page To test: 1. Have SyndeticsCoverImages on and Syndetics setup. 2. Do a search that will return some results with Syndetics images 3. Click on the image link and you will get a 404 4. Apply patch 5. Link works! Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed off based on the content of the patch even though I don't have Syndetics credentials to test live. I suspect the origin of this bug was some variation on handling the BiblioDefaultView system preference.
Created attachment 144492 [details] [review] Bug 32389: Fix Syndetics link on staff results page To test: 1. Have SyndeticsCoverImages on and Syndetics setup. 2. Do a search that will return some results with Syndetics images 3. Click on the image link and you will get a 404 4. Apply patch 5. Link works! Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 23.05. Nice work everyone, thanks!
Nice work everyone! Pushed to 22.11.x for the next release
Is there any chance to get this on 22.05? We were looking forward to syndetics images on the staff side.
Backported to 22.05.x for upcoming 22.05.09 release
this one seems to depends on 21225 which was not released for 21.11.x. Won't backport