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

            Bug ID: 38678
           Summary: GET /deleted/biblios cannot be filtered on
                    `deleted_on`
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: REST API
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

Because of a wrong mapping, filtering on the `deleted_on` attribute is not
possible.

To reproduce:
1. Perform this search:
GET /api/v1/deleted/biblios
{
  "-and": [
    {
      "me.deleted_on": {
        ">=": "2024-10-01T08:35:24-05:00"
      }
    },
    {
      "me.deleted_on": {
        "<=": "2024-11-19T08:35:25-07:00"
      }
    }
  ]
}

=> FAIL: You get a 500. The logs say `me.deleted_on` doesn't exist.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to