Bug 6470 - Unable to filter out actions made by kohaadmin
Summary: Unable to filter out actions made by kohaadmin
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Transaction logs (show other bugs)
Version: Main
Hardware: All All
: PATCH-Sent (DO NOT USE) minor (vote)
Assignee: Janusz Kaczmarek
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-06 15:49 UTC by Janusz Kaczmarek
Modified: 2012-10-25 23:10 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Proposed patch (815 bytes, patch)
2011-06-06 15:55 UTC, Janusz Kaczmarek
Details | Diff | Splinter Review
Signed-off patch (880 bytes, patch)
2011-06-15 11:19 UTC, Magnus Enger
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Janusz Kaczmarek 2011-06-06 15:49:44 UTC
Problem description:

1. Go to Tools --> Log viewer
2. Put 0 as Librarian (for admin / kohaadmin etc.)
3. Set other parameters, like dates, action etc.
4. Click Submit and see logs

You should see log entries not only of admin (0), but also of other librarians.  (If you do not see anything, this can be because of the Bug 6460 -- then choose action like Add or apply the patch for 6460).

A simple patch for the problem described here will come.
Comment 1 Janusz Kaczmarek 2011-06-06 15:55:17 UTC Comment hidden (obsolete)
Comment 2 Magnus Enger 2011-06-15 11:19:52 UTC
Created attachment 4479 [details] [review]
Signed-off patch

Before applying the patch limiting the logs to Librarian = 0 showed other librarians too. 

After applying the patch, only the chosen user is shown when Librarian = 0. 

Signing off!
Comment 3 Chris Cormack 2011-07-04 23:23:19 UTC
Pushed, please test