https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17673
Bug ID: 17673
Summary: HTML5Media: Using an OPAC URL for an uploaded file
does not work in staff
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Staff Client
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
Currently, playing an uploaded file in the Media tab will not work. The URL is
invalid.
The URLs should be:
OPAC /cgi-bin/koha/opac-retrieve-file.pl?id=bce868a0f5521e9329ccbc73414b4927
STAFF
/cgi-bin/koha/opac/opac-retrieve-file.pl?id=bce868a0f5521e9329ccbc73414b4927
Note that the URL used in staff is the OPAC one from 856$u.
In this case "opac-retrieve-file" should be prefixed with "opac/".
Alternatively, the staff upload URL could be:
/cgi-bin/koha/tools/upload.pl?op=download&id=316
NOTE: In this case the id is the real id; in opac parameter id is actually used
for the hashvalue.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/