Skip to content
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

Advanced search rules "Added" and "Updated" are awkward to use #50

Closed
paulijar opened this issue Aug 17, 2023 · 1 comment
Closed

Advanced search rules "Added" and "Updated" are awkward to use #50

paulijar opened this issue Aug 17, 2023 · 1 comment

Comments

@paulijar
Copy link

For the advanced search rules "Added" and "Updated", the input is supposed to be in the ISO format like "2023-08-17T23:55". However, in the advanced search view of Ample, the input field is of numeric type in these cases. This means that on Chrome, it's impossible to enter the date like shown above. What's even worse, on Firefox, you can enter the date as a string but any non-numeric input will get converted to "null" when the search query is sent to the server.

Now, the DB used by the Ampache server seems to allow entering the datetime also by leaving the non-numeric characters off like "202308172355". It's also possible to omit the time part like "20230817". Hence, using these search rules is not completely impossible but figuring out the correct way to use them is far from trivial.

Ideally, there could be some kind of date selector widget. But it would already go a long way if there was a string-type input field along with the hint "yyyy-mm-dd".

@mitchray
Copy link
Owner

Thanks for letting me know, added in 8d14b13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants