OPDS: исправлен баг - не учитывался жанр при переходе на следующую страницу

This commit is contained in:
Book Pauk
2023-01-28 21:20:35 +07:00
parent ef938bff77
commit 638126b5f3

View File

@@ -55,7 +55,7 @@ class SearchPage extends BasePage {
this.makeEntry({
id: 'next_page',
title: '[Следующая страница]',
link: this.navLink({href: `/${this.id}?type=${from}&term=${encodeURIComponent(query.term)}&page=${page + 1}`}),
link: this.navLink({href: `/${this.id}?type=${from}&term=${encodeURIComponent(query.term)}&genre=${encodeURIComponent(query.genre)}&page=${page + 1}`}),
})
);
}