Skip to content

[Bug] Select All only selects ports on the current page when importing port rules #13087

@furlingdu

Description

@furlingdu

Contact Information

furlingdu@qq.com

1Panel Version

v2.2.2

Problem Description

When importing port rules, the "Select All" option only selects the first 10 ports displayed on the current page, rather than all available ports.

Ideally, clicking "Select All" should select all ports, including those not currently displayed. Alternatively, an option to increase the number of items shown per page (e.g., X items per page) should be provided.

Interestingly, this option was still available in v2.0.16. I believe this is a bug.

Image

v2.0.16:

Image

导入端口规则时,全选选项仅能选择当前页面显示的前10个端口,而并不是全部选择。理论上点击全选选项后应该选择全部端口(包括未显示的)或者是增加上x条/页 的选项。
有趣的是,这个选项在2.0.16的时候还是存在的。我认为这是一个错误。

Steps to Reproduce

Open the Import Port Rules page.

The expected correct result

No response

Related log output

Additional Information

No response

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions