[Koha-bugs] [Bug 7241] circulation action logs record biblionumber instead of item number

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 19 14:08:29 CET 2011


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

Adrien SAURAT <adrien.saurat at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adrien.saurat at biblibre.com

--- Comment #4 from Adrien SAURAT <adrien.saurat at biblibre.com> 2011-12-19 13:08:29 UTC ---
In fact, the correct ID is stored in the action_logs table :
- when modifying a biblio, the biblionumber is stored in the "object" field;
- when modifying an item, the itemnumber is stored in the "object" field.

The problem is that, when the page "viewlogs" tries to display these log
entries, there is no way to know if the value stored was an itemnumber or a
biblionumber !


Where could we store this information ?
1) A new field ? (would be unuseful for many possible actions)

2) New values for the "action" field ?
We now use ADD, MODIFY and DELETE.
We could have ADD_ITEM, MODIFY_ITEM, DELETE_ITEM, ADD_BIBLIO, MODIFY_BIBLIO and
DELETE_BIBLIO.

3) More info in the "info" field ?
For example, when a systempreference is modified, the info field contains a
string like this : "OPACUserCSS | new/path/test.css"
We could then begin the info with "ITEM | " or "BIBLIO | ".

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list