mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/posts: add mass tag
This commit is contained in:
@ -15,7 +15,11 @@ class CommentsController {
|
||||
|
||||
this._pageController = new PageController({
|
||||
searchQuery: ctx.searchQuery,
|
||||
clientUrl: '/comments/' + misc.formatSearchQuery({page: '{page}'}),
|
||||
getClientUrlForPage: page => {
|
||||
const searchQuery = Object.assign(
|
||||
{}, ctx.searchQuery, {page: page});
|
||||
return '/comments/' + misc.formatSearchQuery(searchQuery);
|
||||
},
|
||||
requestPage: page => {
|
||||
return PostList.search(
|
||||
'sort:comment-date+comment-count-min:1', page, 10, fields);
|
||||
|
Reference in New Issue
Block a user