Bug 7483

Summary: Searching in the all projects table resets the 'show rows' menu to '10'
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: David Reyna <david.reyna>
Status: VERIFIED FIXED QA Contact: Alexandru Roman <alexandru.costinx.roman>
Severity: normal    
Priority: Medium CC: alexandru.costinx.roman, alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu, david.reyna, jessica.zhang
Version: unspecified   
Target Milestone: 1.8 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Belen Barros Pena 2015-03-19 13:17:11 UTC
found in master:12b6cf0f2212519b14333519746174a5b941f7bf 

With Toaster in build mode:

* select the "show all projects" option in the all builds table
* in the all projects table, change the value of the 'show rows' menu to 25. 
* search for something

When the search results come in, you 'show rows' menu is now set to 10. Searching should not impact the value of the 'show rows' menu.
Comment 1 David Reyna 2015-03-31 01:33:04 UTC
The "count" value for the all projects page was not fully saved in the cookies because the view class did not end with a '_save_parameters_cookies'.

The intermediate cookie "_count" was there (from basetable_bottom.html) which is why it kind of worked, but that is not used when a search is issued.
Comment 2 Belen Barros Pena 2015-04-10 10:29:59 UTC
this seems to be working in master
Comment 3 Alexandru Roman 2015-11-26 14:29:49 UTC
Verified on master.