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

Global plants filtering in url #28

Open
spalk opened this issue Dec 16, 2021 · 0 comments
Open

Global plants filtering in url #28

spalk opened this issue Dec 16, 2021 · 0 comments
Labels
remake Something works but not in the best way

Comments

@spalk
Copy link
Member

spalk commented Dec 16, 2021

The existing ulr-scheme is bad and should be remake.

Current url scheme looks like:
plants/is_plant/tag/<int:tag_id> or plants/is_seed/genus/<str:genus>
It works and it readable just in case of one or two parameters, but there are many other attributes for filtering.

Should be classic scheme with get-attributes:
plants/?is_plant=1&tag_id=32&genus=lithops&... and so on.

@spalk spalk added the remake Something works but not in the best way label Dec 16, 2021
@spalk spalk added this to the v.1.1 Easter Release milestone Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
remake Something works but not in the best way
Projects
None yet
Development

No branches or pull requests

1 participant