diff --git a/TODO b/TODO index e4f671bb..6968cd9a 100644 --- a/TODO +++ b/TODO @@ -26,10 +26,10 @@ everything related to posts: - score - comment count - regard safety settings + - regard disliked settings + - add search form (query, order and safety) to post list presenter - add warning if no posts were found - search filters - - tag - - -tag - submit:rr- - comment:rr- - comment: 3..5 @@ -42,7 +42,6 @@ everything related to posts: - date:yyyy[-mm[-dd]]..yyyy[-mm[-dd]] - filesize:3K..5M - imgsize:huge/large/medium/small - - id:3,4,5 - hash:postName - type:img/flash/yt/video - special:liked @@ -60,8 +59,6 @@ everything related to posts: - order:favdate - order:filesize - order:random (at least unstable version) - - safe/sketchy/unsafe buttons and top navigation search goes to post - list presenter everything related to users: - banning diff --git a/public_html/js/Presenters/PostListPresenter.js b/public_html/js/Presenters/PostListPresenter.js index 800d7adf..90282f5f 100644 --- a/public_html/js/Presenters/PostListPresenter.js +++ b/public_html/js/Presenters/PostListPresenter.js @@ -54,7 +54,7 @@ App.Presenters.PostListPresenter = function( loaded(); var searchArgs = util.parseComplexRouteArgs(args.searchArgs); - pagedCollectionPresenter.reinit({page: searchArgs.page, searchParams: {order: searchArgs.order}}); + pagedCollectionPresenter.reinit({page: searchArgs.page, searchParams: {query: searchArgs.query, order: searchArgs.order}}); } function render() { diff --git a/public_html/templates/post.tpl b/public_html/templates/post.tpl index b82b218a..1bb3156c 100644 --- a/public_html/templates/post.tpl +++ b/public_html/templates/post.tpl @@ -16,7 +16,7 @@