Bug 7483 - Searching in the all projects table resets the 'show rows' menu to '10'
Summary: Searching in the all projects table resets the 'show rows' menu to '10'
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.8 M4
Assignee: David Reyna
QA Contact: Alexandru Roman
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-03-19 13:17 UTC by Belen Barros Pena
Modified: 2015-11-26 14:29 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.