mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/paging: don't include empty parameters
This commit is contained in:
@ -59,8 +59,8 @@ class UsersController {
|
||||
text: ctx.searchQuery.text,
|
||||
page: page}));
|
||||
},
|
||||
clientUrl: '/users/text={text};page={page}'.format({
|
||||
text: ctx.searchQuery.text}),
|
||||
clientUrl: '/users/' + misc.formatSearchQuery({
|
||||
text: ctx.searchQuery.text, page: '{page}'}),
|
||||
initialPage: ctx.searchQuery.page,
|
||||
pageRenderer: this.userListView,
|
||||
});
|
||||
|
Reference in New Issue
Block a user