[Koha-bugs] [Bug 29405] The patron spec for date_renewed is missing it's format definition

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Nov 7 22:51:50 CET 2021


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at davidnind.com

--- Comment #3 from David Nind <david at davidnind.com> ---
This is how I tested using koha-testing-docker - hope this is sufficient!

Test plan:

1. Search http://127.0.0.1:8080/api/v1/.html for date_renewed

2. You should find seven occurrences displayed like this (note that other date
fields have a line with "format": "date", as part of their definition):

   "date_renewed": {
          "description": "date the patron's card was last renewed",
          "type": [
            "string",
            "null"
          ]
        },

3. Apply the patch.

4. Reload the page in step 1 and search again for date_rendered. The seven
occurrences should now include "format": "date", :

   "date_renewed": {
          "description": "date the patron's card was last renewed",
          "format": "date",
          "type": [
            "string",
            "null"
          ]
        },

5. Sign off!

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


More information about the Koha-bugs mailing list