[Koha-bugs] [Bug 8628] Add digital signs to the OPAC
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Sep 21 00:04:22 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8628
ByWater Sandboxes <bws.sandboxes at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #93059|0 |1
is obsolete| |
--- Comment #68 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 93071
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=93071&action=edit
Bug 8628: Digital signs - opac interface
To test:
1. Apply this patch and the database updates patch
2. Run updatedatabase.pl
3. In staff client, go to Tools/Additional Tools/Digital signs
4. You should be warned about OPACDigitalSigns not being enabled, you can
ignore
this for now.
5. Add a new sign by clicking the "+ New sign" button
6. Enter a name and optionally numbers for automatic page turing
7. Your new sign should appear in the Signs list
8. Add a new stream by clicking the "+ New stream" button
9. Unless you already have reports in the report group with code SIGN, you
should
be warned that there are no reports in the group with code SIGN and given a
link for creating a new report. Follow the link and create a new report with
report group code SIGN. En example SQL command for the report could be:
SELECT * FROM biblio WHERE timestamp > DATE_SUB(NOW(), INTERVAL 7 DAY)
or if you are testing the parameters feature of the digital signs, an
example report could be:
SELECT * FROM biblio WHERE biblionumber < placeholder.
10. Go back to the "new stream" page, and reload. You should no longer see a
warning message, and your newly created report should appear in the list of
reports.
11. Select the report and click Submit. Your newly created stream should now
appear in the list of streams.
12. In the list of signs, press "edit streams" for the sign you previously
created.
13. Choose a stream to attach and click Submit.
If you have attached a report with a parameter placeholder, edit the
parameters so that the placeholder gets substituted with a value. For example,
in the edit parameters box, you can have:
placeholder = 10000
When you submit, you'll see the SQL replaces the placeholder with your
value and completes the query.
Your sign is now ready for OPAC.
14. In OPAC, visit /cgi-bin/koha/opac-signs.pl
15. You should be told that Digital signs are not enabled. Enable with new
system preference OPACDigitalSigns and reload the page.
15. You should see a list of available signs, click on a sign that you wish to
display.
16. You should now see a list of all books matching the SQL query in the report
that you attached to your stream.
17. If you have OPACLocalCoverImages enabled, all books with local covers
attached should be presented using this cover.
If no local cover is available and the book has a ISBN with a cover in
openlibrary.org, the cover image from openlibrary.org should be shown.
If all of the above fails, a cover matching the theme of the page should be
seen, showing the book title and author.
18. Clicking a book should bring you to a detailed view of the book where you
can see the books availability. You should also see the two next books and
the two previous books in the stream (unless you're at the beginning or end
of the stream)
19. Swiping (if no touch screen, click and hold left mouse button and drag)
left/right should bring you to next/previous book. Clicking on the
next/previous books (right/left of the active one) should bring you to the
detailed view of the clicked book.
20. Leaving the page idle (i.e no user interaction) for the amount of time
specified in step 6. should result in the page automatically switching to
the next book in the stream.
Sponsored-by: Regionbibliotek Halland / County library of Halland
Signed-off-by: Lisette Scheer <lisetteslatah at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list