[Koha-bugs] [Bug 15096] Export today's checked in barcodes: Display warning if reading history is set to "never"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 11 22:21:27 CET 2016


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15096

Aleisha Amohia <aleishaamohia at hotmail.com> changed:

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

--- Comment #7 from Aleisha Amohia <aleishaamohia at hotmail.com> ---
Created attachment 46501
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46501&action=edit
Bug 15096: Export today's checked in barcodes: Display warning if reading
history is set to "never"

If a patron's privacy settings are set to "Never" for keeping a reading
history, "Export today's checked in barcodes" returns an empty file.

This patch skips the export if such privacy rule is set and dsiplays a message.

To test:
- Apply patch
- Search for a user who has privacy rules set to never keeping a circulation
history
- Check out / check in in some items
- On users detail page, go to More->Export today's checked in barcodes
- Verify that a message appears about user's privacy settings (in same window)
- Click left tab "Circulation history"
- Verify that the same message appearsar
- Verify the same with the other conditions that prevent the display
  of the user's circulation history:
  - Syspref 'intranetreadinghistory' is 'Don't allow'
  - Patron is 'Anonymous patron' (syspref 'Anonymous patron')
- Search for a user who allows circulation history
- repeat steps above, verify that circulation history appears (if allowed by
syspref
  'intranetreadinghistory' and that today's checkouts are exported.

(Amended for comment #3)

Signed-off-by: Aleisha <aleishaamohia at hotmail.com>

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


More information about the Koha-bugs mailing list