Created
March 31, 2017 13:55
-
-
Save adam-szczombrowski/0af4db0f4b7ab7f1a76fa55190986173 to your computer and use it in GitHub Desktop.
StackExchange filter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setupFilter = function(pagesize, search_text) { | |
return { | |
pagesize: pagesize, | |
sort: 'votes', | |
order: 'desc', | |
intitle: search_text, | |
filter: 'withbody', | |
min: 1 | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment