[Koha-bugs] [Bug 35508] New: Update borrowers.updated_on when modifying a patron's attribute

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 6 17:52:10 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35508

            Bug ID: 35508
           Summary: Update borrowers.updated_on when modifying a patron's
                    attribute
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: caroline.cyr-la-rose at inlibro.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

Currently, if you have patron attributes and modify the values in a patron's
account, the patron's updated_on date is not updated. So you cannot know when a
patron was last modified if it was an attribute modification.

To recreate:

1. Create a patron attribute type
   1.1. Go to Administration > Patron attribute types
   1.2. Click New patron attribute
   1.3. Fill out the code and description 
   1.4. Click Save

2. Edit a patron (normal)
   2.1. Go to Patrons and find a patron account
   2.2. Click Edit
   2.3. Change a regular field (e.g. Middle name)
   2.4. Click Save

--> Notice the "Updated on" date in the left column has been updated to now

3. Edit a patron attribute
   3.1. In another patron account*, click Edit
   3.2. Change the value of an attribute
   3.3. Click Save

--> Notice the "Updated on" date did not change

* There needs to be at least a minute between doing step 2 and doing step 3 to
notice the date/time doesn't change, or use another patron account completely.

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


More information about the Koha-bugs mailing list