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

API v2: sort_by=last_modified_t #523

Open
Tracked by #515 ...
monsieurtanuki opened this issue Jul 22, 2022 · 3 comments
Open
Tracked by #515 ...

API v2: sort_by=last_modified_t #523

monsieurtanuki opened this issue Jul 22, 2022 · 3 comments

Comments

@monsieurtanuki
Copy link
Contributor

monsieurtanuki commented Jul 22, 2022

https://world.openfoodfacts.org/api/v2/search?sort_by=last_modified_t

Part of

@monsieurtanuki
Copy link
Contributor Author

@teolemon Actually it's already implemented, but the name is not the same: SortOption.EDIT.
Should we deprecated EDIT and introduce LAST_MODIFIED?

@monsieurtanuki monsieurtanuki self-assigned this Jul 22, 2022
@teolemon
Copy link
Member

Mmh...it might have to do with V1 search vs V2 search? Is the edit field working ?

@monsieurtanuki
Copy link
Contributor Author

I don't know the difference. Could you point me to V1 and V2 code on the server?

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

No branches or pull requests

2 participants