Skip to content

[EDH-3309] - /joint-invoice/search response entries order #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
EinarArro opened this issue Oct 14, 2024 · 0 comments
Open

[EDH-3309] - /joint-invoice/search response entries order #91

EinarArro opened this issue Oct 14, 2024 · 0 comments
Labels
lowPriority Low priority

Comments

@EinarArro
Copy link
Collaborator

Problem

joint-invoice/search is used in the UI and in the API and the needs for 2 different channels are different:

  • UI needs the joint-invoice entries to be in the order, where the newer ones are first
  • The API users want to have the order reversed - older ones first.

The problem, the API users have at the moment - they perform the search by filtering by "createdTimeFrom + createdTimeTo+unread"  and want to process them by their logical order - older ones first, because they are scanning for updates.

At first glance it seems, that maybe the "sort" attribute (asc and desc) would be handy. In that case the different API users can have the data in the order they prefer

Impact (If known)

Inconvenience

Work-a-round

none

@EinarArro EinarArro added the lowPriority Low priority label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lowPriority Low priority
Projects
None yet
Development

No branches or pull requests

1 participant