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

Expose date range searches from API to the web UI #1562

Open
matt-horrocks opened this issue Nov 3, 2014 · 6 comments
Open

Expose date range searches from API to the web UI #1562

matt-horrocks opened this issue Nov 3, 2014 · 6 comments

Comments

@matt-horrocks
Copy link

Hi,

I'd like the functionality to search for and display photos between specific dates.

Is this something the community would be interested in?

Thanks,
Matt

@jmathai
Copy link
Member

jmathai commented Nov 3, 2014

This exists but isn't exposed in the UI. Here's an example. The parameters are identical for the API.

https://current.trovebox.com/photos/takenAfter-July%201,%202010/takenBefore-July%2018,%202010/list?sortBy=dateUploaded,asc

@jmathai jmathai closed this as completed Nov 3, 2014
@matt-horrocks
Copy link
Author

That's great. Is there a reason it's not available in the UI?

It seems as though it would be a useful addition.

@jmathai
Copy link
Member

jmathai commented Nov 4, 2014

@matt-horrocks haven't got around to it....:)

@jmathai
Copy link
Member

jmathai commented Nov 4, 2014

Reopening to add this to the web UI (changing the title)

@jmathai jmathai reopened this Nov 4, 2014
@jmathai jmathai changed the title Search for and display photos between specific dates Expose date range searches from API to the web UI Nov 4, 2014
@matt-horrocks
Copy link
Author

@jmathai I don't mind taking a look at this. Would you have a preferred ui for the calendar?

@jmathai
Copy link
Member

jmathai commented Nov 4, 2014

I don't. We've been using free form dates and parsing them with strtotime when doing something like editing the time a photo was taken. I don't think that makes sense here though.

We're using bootstrap 2 so a date dialog that works well with it is where I would start.

This looks promising http://bootstrap-datepicker.readthedocs.org/en/release/. It supports LESS which we can include here under // libraries.

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