Summary: | clicking print button in opac causes 404 error | ||
---|---|---|---|
Product: | Koha | Reporter: | Nicole C. Engard <nengard> |
Component: | OPAC | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | Bugs List <koha-bugs> |
Severity: | major | ||
Priority: | PATCH-Sent (DO NOT USE) | CC: | chris, koha.sekjal, magnus |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Proposed fix
Signed-off patch |
Description
Nicole C. Engard
2011-06-24 14:58:27 UTC
Created attachment 4576 [details] [review] Proposed fix opac-detail and opac-ISBDdetail both use window.print(), so I've added that to opac-MARCdetail as well. I've also eliminated the "javascript:" pseudo-protocol because it's pointless. I'd prefer to have a real link for non-js users but that will have to wait for another bug. After applying this patch users with JS enabled should get a print prompt after clicking the "Print" link on opac-MARCdetail.pl Created attachment 4584 [details] [review] Signed-off patch Before the patch, clicking "print" in the right hand column when looking at the MARC view of a record would open up a new, small window with a Koha 404 message. After applying the patch clicking "print" gives a printer prompt, same as for "normal" and "isbd" view. Signing off! This works. Marking Passed QA Pushed, please test |