Bug 6470

Summary: Unable to filter out actions made by kohaadmin
Product: Koha Reporter: Janusz Kaczmarek <januszop>
Component: Transaction logsAssignee: Janusz Kaczmarek <januszop>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: minor    
Priority: PATCH-Sent (DO NOT USE) CC: chris, magnus
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Proposed patch
Signed-off patch

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