Description of problem: System search sometimes returns the wrong item count, and random paging results Version-Release number of selected component (if applicable): 0.8.2 How reproducible: Everytime Steps to Reproduce: 1. Search Systems by the following Core > 4 Mem > 4096 User = "" Status = "Automated" Key/Value HVM = 1 Actual results: Some large item count and weird paging Expected results: Correct item count and normal paging Additional info: This is probably the same bug as 769286
The problem is because of 1:N relationships of Systems to some other tables (KeyValue in this case). The keeping it simple solution is to issue a distinct on the query
On gerrit for review http://gerrit.beaker-project.org/#/c/1052/
*** Bug 819921 has been marked as a duplicate of this bug. ***
*** Bug 824453 has been marked as a duplicate of this bug. ***
*** Bug 832523 has been marked as a duplicate of this bug. ***
Beaker 0.9.0 has been released.