Closed octogene closed 10 years ago
Hm, I'm not 100% sure yet whether I like that search syntax. I'll have to think about it a little.
First idea i came up with, maybe it's a bit too long. We could simplify it by just using a letter in front of the search term : Syntax: search t|ts|u|ul <searchterm>
.
No, the main issue is that it's very complicated to create "a query language inside the query language". Commands like "search_tags", "search_user" etc would probably be more straightforward and easier to implement.
Ok, i'll refactor the code so we'll have a command for each type of query.
Thanks. When you're done, can you rebase your commits against current master and then squash them into a single commit?
That would be helpful and make the history much cleaner. If you're doing it for the first time, make sure to first create a backup of the branch (git checkout -b backup develop && git checkout develop
).
I did the rebase and squashed the commits but i'm not sure if it's all good. I'm not a git expert ;)
Perfect, thanks! :) That makes for much cleaner commit history.
I'll review the new version when I find time, probably tomorrow.
I'll merge for now. Thanks for your contribution, @octogene! :)
Add search by tag or tags. Add sorting options (recent|popular|hot). Add option to choose number of results per page. Add navigation to next result page.