Page MenuHomePhabricator

Modernize Slowvote Search
ClosedPublic

Authored by chad on Jul 21 2015, 9:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 1:00 PM
Unknown Object (File)
Mon, Apr 22, 8:23 AM
Unknown Object (File)
Mon, Apr 22, 8:23 AM
Unknown Object (File)
Fri, Apr 5, 7:28 PM
Unknown Object (File)
Mar 31 2024, 4:43 PM
Unknown Object (File)
Mar 31 2024, 6:55 AM
Unknown Object (File)
Mar 28 2024, 9:24 PM
Unknown Object (File)
Feb 6 2024, 3:38 AM
Subscribers

Details

Reviewers
epriestley
btrahan
Commits
Restricted Diffusion Commit
rP3bfb43629602: Modernize Slowvote Search
Summary

Updates slowvote search forms and results. Note I can't seem to get the Joins clause to fire anymore, is there a modern equiv?

Test Plan

Search on polls by state, votes, author, projects.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chad retitled this revision from to Modernize Slowvote Search.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added reviewers: epriestley, btrahan.
epriestley edited edge metadata.
epriestley added inline comments.
src/applications/slowvote/query/PhabricatorSlowvoteSearchEngine.php
16

I think this is wrong / unnecessary? It will make every query only show stuff you've voted in.

50–54

Or ThreeStateField with "don't care, voted, not voted", although this is a larger change.

This revision is now accepted and ready to land.Jul 22 2015, 8:25 PM
chad planned changes to this revision.Jul 22 2015, 8:34 PM

I'll take a deeper look.

Also, I never got the JOIN clauses to trigger, did I miss something simple?

Oh, try implementing buildJoinClauseParts instead of buildJoinsClause?

I tried, but I'll try again. Maybe the other bug was overshadowing my results.

derp, it was Join vs Joins in the method name that sunk me.

chad edited edge metadata.
  • Fix Joins
This revision is now accepted and ready to land.Jul 22 2015, 11:13 PM
This revision was automatically updated to reflect the committed changes.