We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Redo sorting and filter criteria along with adding search criteria. Also restructure how the list is made to make it easier to view for mobile users.
The current system isn't built on modularity and doesn't take advantage of mySQL's featureset.
Using common search engine functions will probably be an easy way to implement a more advanced sorting, filtering, searching system for the list.
sort:criteria - Sorts the list based on the following criteria: newest (default), oldest, leastvoted, mostvoted
sort:criteria
newest
oldest
leastvoted
mostvoted
Examples:
xd)poll list sort:oldest
xd)poll list sort:mostvoted
filter:critera,criteria,.. - Filters the list using one or more of the following criteria: none (default), voted, creator, notvoted, notcreator
filter:critera,criteria,..
none
voted
creator
notvoted
notcreator
xd)poll list filter:creator
xd)poll list filter:voted,creator
title:criteria
author:criteria
xd)poll list title:color
xd)poll list title:would you rather
xd)poll list author:colind8
You can use multiple of these functions at once, separated with ?.
?
xd)poll list sort:oldest?filter:creator?
xd)poll list filter:creator?title:cake?
xd)poll list filter:notcreator,notvoted?title:would you rather?sort:mostvoted?
The text was updated successfully, but these errors were encountered:
Wow it's been an entire year since I wrote this.
Sorry, something went wrong.
82d083f
No branches or pull requests
Redo sorting and filter criteria along with adding search criteria. Also restructure how the list is made to make it easier to view for mobile users.
Why it should change?
The current system isn't built on modularity and doesn't take advantage of mySQL's featureset.
New "search criteria" suggestion
Using common search engine functions will probably be an easy way to implement a more advanced sorting, filtering, searching system for the list.
Sorting
sort:criteria
- Sorts the list based on the following criteria:newest
(default),oldest
,leastvoted
,mostvoted
Examples:
xd)poll list sort:oldest
xd)poll list sort:mostvoted
Filtering
filter:critera,criteria,..
- Filters the list using one or more of the following criteria:none
(default),voted
,creator
,notvoted
,notcreator
Examples:
xd)poll list filter:creator
xd)poll list filter:voted,creator
Searching
title:criteria
- Searches the list for a title that matches the criteriaauthor:criteria
- Searches the list for an author that matches the criteriaExamples:
xd)poll list title:color
xd)poll list title:would you rather
xd)poll list author:colind8
All together now
You can use multiple of these functions at once, separated with
?
.Examples:
xd)poll list sort:oldest?filter:creator?
xd)poll list filter:creator?title:cake?
xd)poll list filter:notcreator,notvoted?title:would you rather?sort:mostvoted?
The text was updated successfully, but these errors were encountered: