I found a small bug about the paging after doing "Advanced Search" in the Components tab.
After doing "Advanced Search", you will get a list of components matched, among which the first 10 components are shown on the first page. But when you go to the next page, the 10 components shown on the page before are also shown here.
How to reproduce
I created a dataset containing 25 components.
I then did an advanced search under the condition that "Component Name is 'A'". I got 16 components matched, among which 10 components are shown on the first page. I then clicked the "Next" button to go to the next page.
On this page, the left 6 components should be shown here. However, 16 components are shown here, including 10 components shown on the first page. This is not correct.
Screenshots
Versions
Last commit id on master: Version: 13.4.0-SNAPSHOT | Branch: master (ee4ea77)
Description
I found a small bug about the paging after doing "Advanced Search" in the Components tab.
After doing "Advanced Search", you will get a list of components matched, among which the first 10 components are shown on the first page. But when you go to the next page, the 10 components shown on the page before are also shown here.
How to reproduce
I created a dataset containing 25 components.
I then did an advanced search under the condition that "Component Name is 'A'". I got 16 components matched, among which 10 components are shown on the first page. I then clicked the "Next" button to go to the next page.
On this page, the left 6 components should be shown here. However, 16 components are shown here, including 10 components shown on the first page. This is not correct.
Screenshots
Versions
ee4ea77
)Logs
Any logs (if any) generated in
SW360 logs
Logs generated under /var/log/sw360/sw360.log
Tomcat logs
Logs generated under /var/log/tomcat/error.log