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

Ks 2022 09 budgeting search filter #4496

Merged
merged 2 commits into from
Sep 22, 2022

Conversation

Rineee
Copy link
Contributor

@Rineee Rineee commented Sep 21, 2022

I am not very happy with all of the cases in the annotation, but I think there is no way to use a python function in an annotation, so this is the solution I came up with.. happy for any improvements!

@khamui I did not (yet) add the search filter to the other filters in the api as there is no real information, right?

The search works with url/?search=my+search+term, so spaces work with '+'. You can just look at the filtered list in the browser, eg. http://localhost:8003/api/modules/$moduleId/proposals/?search=something+here should work.

Copy link
Contributor

@fuzzylogic2000 fuzzylogic2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Even though the annotation is quite complicated, I like it much more this way than overwriting the filter! Cool!

@fuzzylogic2000 fuzzylogic2000 merged commit 7901fb9 into main Sep 22, 2022
@fuzzylogic2000 fuzzylogic2000 deleted the ks-2022-09-budgeting-search-filter branch September 22, 2022 07:24
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

Successfully merging this pull request may close these issues.

2 participants