Skip to content

Request expire date filter incorrect #3937

@PascalRepond

Description

@PascalRepond

Bug description:

All date_range filters seem to have a problem (e.g. .Transaction_date in the fees view). It is offset by one day. This might be linked to a timezone problem between the prime NG date picker and the ES index.

For example, when selecting a date here (https://ilsdev.test.rero.ch/professional/records/patron_transaction_events?q=&page=1&size=10&owning_library=1&transaction_date=1758751200000--1758751200000&simple=1), the resource from the previous day are selected.

Expected behavior:

This filter is not offset by one day.

Steps to Reproduce:

  1. Make a request and validate it so that the item is "at_desk"
  2. Go to the "current loans" view and filter by status "at_desk"
  3. See the expire date of the request and filter by this date: the list is empty.
  4. Filter by the next day: the request is in the list

Context

  • Versions: v1.25.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBreaks something but is not blocking

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions