doubaniux / boofilsic

Mark the things you love.
GNU Affero General Public License v3.0
116 stars 44 forks source link

[Bug] Not jumping to the right page when searching with tags #96

Closed RiverIntheSky closed 2 years ago

RiverIntheSky commented 3 years ago

https://github.com/doubaniux/boofilsic/blob/025219be3d462b325cdd41046ef564c1776a8e14/common/templates/common/search_result.html#L422 For example, I want to search for 小说, and land on the page https://neodb.social/search/?tag=%E5%B0%8F%E8%AF%B4 . If I click on page 2 on the bottom of the page, I land on https://neodb.social/search/?page=2&q= . The correct address should be https://neodb.social/search/?page=2&tag=%E5%B0%8F%E8%AF%B4 , it's tag not q.