-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add search form on admin moderated content #3392
Conversation
@Jacek-202 Thank you for this pull request 😄. Sorry it's taking us so long to review it 🙏. It looks like Travis is reporting a failure in one test, and Hound is also reporting some issues 🤔. Would you like to continue working on this pull request? If so, thanks a lot 😉. Could you have a look at these issues? |
Thanks for comment @javierm . |
@Jacek-202 Cool! 😄 If part of this pull request is already merged, you might want to run |
Hi, @Jacek-202, how are you doing? Are you still working on this pull request? 🤔 |
Hi @javierm, sorry that i didn't update it. I will check this issues and prepare pull request in 3-4 weeks (from now) :) . |
c32330f
to
ccf72ec
Compare
Hi @javierm |
126d695
to
c1636ce
Compare
@Jacek-202 Sorry to make you wait for a year and a half 🙏. Only now we're finally catching up with the last of the pull requests pending review. I've pushed some changes in order to make the pull request up to date with the latest master branch. Would you like to keep working on this pull request, or shall we take it from here? I understand it's really unfair to ask you to add changes after such a long time, so if you'd like to stop working working on this pull request, just say so 😉. If you're interested in continuing, here's the initial review you asked for... 20 months ago 😅.
|
0dd8250
to
3ed6d9d
Compare
0016791
to
84aa293
Compare
1076115
to
239f637
Compare
We were doing it differently for investments.
We introduced this bug in commit 55d3395, since we didn't take hidden records into consideration. I've tried to use `update_column` to simplify the code, but got a syntax error `unnamed portal parameter` and didn't find how to fix it.
Added search for comments and proposal_notifications, added tsv column for search and rake tasks to update/create tsv vector.
While this bug was already present in the general admin search, the combination of both search and filters was very uncommon. I've only found this combinations in the users section, where you've got the "erased" filter, but in this case searching for erased users doesn't really make sense since their username and email have been deleted and so there's nothing to find. So the hidden content seemed to be the only affected section. However, we're adding the field to every section so we don't have to make sure we add it when we need it (like we did in the SDGManagement section).
References
Objectives
Add search form for all admin/hidden sections
Visual Changes
Notes
Added tsv vector colum to comments and proposal_notifications tables
Added 2 rake tasks to update tsv_vector