Bug 1506468

Summary: [disk content type] The disk default content type is 'All' and the button should be set to 'All' as well
Product: [oVirt] ovirt-engine Reporter: Raz Tamir <ratamir>
Component: BLL.StorageAssignee: Tal Nisan <tnisan>
Status: CLOSED CURRENTRELEASE QA Contact: Shir Fishbain <sfishbai>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: bugs, ebenahar, lveyde, tnisan
Target Milestone: ovirt-4.2.4Flags: rule-engine: ovirt-4.2+
rule-engine: exception+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.2.4.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-26 08:37:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot none

Description Raz Tamir 2017-10-26 07:46:31 UTC
Created attachment 1343589 [details]
screenshot

Description of problem:
Inside the 'Disks' tab, if I will select different filtering under content type (e.g. 'Memory Dump'), it will filter by that content type.
After moving to different tab (e.g. 'Virtual machines') and back to 'Disks' tab, the default filtering will be 'All' but the "selected" button will remain the last one ('Memory Dump') 


Version-Release number of selected component (if applicable):
ovirt-engine-4.2.0-0.0.master.20171023193344.gitc3b23f6.el7.centos


How reproducible:
100%

Steps to Reproduce:
1. Select different filtering method under disk tab
2. Move to different tab
3. Go back to disk tab

Actual results:
The filtering will be the default - 'All' but the selected filer will be the one you previously selected

Expected results:
The filtering button should be reset to 'All'

Additional info:

Comment 1 Tal Nisan 2018-05-29 11:52:49 UTC
The filtering should stay as the last one selected to maintain uniformity with other main tabs, if you select "OVF store" for instance and move to another tab, when you return to the disks tab the filtering should stay on "OVF store".
There was a bug indeed though that the button remained selected yet the filtering was reset, this was fixed

Comment 2 Shir Fishbain 2018-06-03 14:09:16 UTC
The filtering stays the same as for the last choice of content type.

Comment 3 Sandro Bonazzola 2018-06-26 08:37:35 UTC
This bugzilla is included in oVirt 4.2.4 release, published on June 26th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.4 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.