Bug 4031 - Ability to turn off search history for users not logged in
Summary: Ability to turn off search history for users not logged in
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Matthias Meusburger
QA Contact: Bugs List
Depends on:
Reported: 2010-01-06 08:54 UTC by Owen Leonard
Modified: 2019-06-14 09:45 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Who signed the patch off:
Text to go in the release notes:
Version(s) released in:


Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cormack 2010-05-21 01:22:20 UTC

---- Reported by oleonard@myacpl.org 2010-01-06 20:54:33 ----

I'd like to propose that EnableOpacSearchHistory be changed to a "choice" type system preference with these options:

1. Off (no OPAC search history)
2. LoggedIn (track history only for logged in users)
3. All (track history for all users)

This would give libraries a little more flexibility in catering to their patrons' privacy concerns.

--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:22 UTC  ---

This bug was previously known as _bug_ 4031 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4031

Actual time not defined. Setting to 0.0
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Katrin Fischer 2013-04-13 17:44:40 UTC
I like this idea!
Comment 2 Katrin Fischer 2014-11-02 10:18:13 UTC
Still valid.
Comment 3 Magnus Enger 2017-01-13 13:10:31 UTC
What is the default behaviour today? Looking at the search_history table of one of my sites it looks like logging is only done for logged in users?
Comment 4 Katrin Fischer 2017-02-05 14:18:37 UTC
I think if you are not logged in search history is kept too, once you log in it will be added to your existing search history. You can see this behaviour by doing a search without being logged in - the search history link should show after your first search.
Comment 5 Katrin Fischer 2019-06-14 09:45:57 UTC
We have just had a library 'complaining' about the fact that the anon history is added to the patron account on log in. This is especially a problem if the library offers computers for searching the OPAC in the library that get frequented by a lot of different users.

I think this configuration option Matts proposed would be really helpful there.