[Koha-bugs] [Bug 8628] Add digital signs to the OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 17 03:24:23 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8628

Aleisha Amohia <aleisha at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #66248|0                           |1
        is obsolete|                            |

--- Comment #27 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
Created attachment 77026
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=77026&action=edit
Bug 8628: Add digital signs to the OPAC

See http://wiki.koha-community.org/wiki/Digital_signs_RFC for details.

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 SIG, you
should
   be warned that there are no reports in the group with code SIG and given a
   link for creating a new report. Follow the link and create a new report with
   report group code SIG. En example SQL command for the report could be:

   SELECT * FROM biblio WHERE timestamp > DATE_SUB(NOW(), INTERVAL 7 DAY)
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. 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: Chris Cormack <chrisc at catalyst.net.nz>

In theory this could/should be rewritten to use Koha::Schema instead
of direct sql, but this predates the switch, so would be unfair to
reject it on that basis (plus until we fix the speed straight sql is
way faster anyway)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list