Skip to content

Commit

Permalink
重置 Prowlarr 分页 offset 为 0
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyPuppy514 authored Jan 15, 2024
1 parent b472321 commit c5d47cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/lckp/jproxy/filter/IndexerFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public void doFilter(ServletRequest request, ServletResponse response, FilterCha
if (count > indexerRequest.getLimit()) {
count = indexerRequest.getLimit();
newXml = XmlUtil.remove(newXml, count);
offset = 0 - count;
}
if (count > 0 || xml == null) {
xml = XmlUtil.merger(xml, newXml);
Expand Down

0 comments on commit c5d47cb

Please sign in to comment.