Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

选中删除所有记录,实际只删除当页数据 #398

Closed
xchen007 opened this issue Sep 26, 2021 · 1 comment
Closed

选中删除所有记录,实际只删除当页数据 #398

xchen007 opened this issue Sep 26, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@xchen007
Copy link

bug描述
任意记录列表选中当页所有记录复选框(出现选择所有提示)->点击选中所有->点击删除->只删除当页数据 100 条,而非提示的所有数据

重现步骤
1.基于django3.1.13新建测试项目
2. settings.py注册 simpleui
3.新建 app,并创建简单模型, 之后插入数百条以上数据调试(后台默认单页显示 100 条, 只要选中所有超过 100 条能看出效果)
4. 进入 admin 后台删除刚才新模型插入的数据, 选中最上方复选框,出现"选中所有的 5104 个 ....",
5. 出现"选中了 5042 个",并点击删除
6. 最终提示删除了 100 个, 实际上页删除 100 个

环境
** environment**

1.Operating System:
MacOS
2.Python Version:
python3.8
3.Django Version:
3.0 之后版本,不是特定版本试了 3.0之后多个版本都出现同样问题(还没有尝试更多), 可以用最新3.1.13 复现
4.SimpleUI Version:
2021.8.17

@xchen007 xchen007 added the bug Something isn't working label Sep 26, 2021
@bode135
Copy link

bode135 commented Nov 10, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants