AlistGo/alist

Incorrect search result count (total) returned

Open

#4973 aperta il 9 ago 2023

Vedi su GitHub
 (11 commenti) (0 reazioni) (0 assegnatari)Go (7947 fork)batch import
bughelp wanted

Metriche repository

Star
 (49.469 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Please make sure of the following things

  • I have read the documentation. 我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions. 我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational). 我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version. 我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

v3.25.1

Driver used / 使用的存储驱动

Any

Describe the bug / 问题描述

reason: https://github.com/alist-org/alist/blob/b91ed7a78ae255f427a7480e2a713ac8a7289032/server/handles/search.go#L46 the total is assigned before going through the meta to see what is hided

effect: image image

Reproduction / 复现链接

http://digitalocean1.itshenryz.com:5244/

Config / 配置

Unnecessary

Logs / 日志

Unnecessary

Guida contributor