yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #57788
[Bug 1329415] Re: pagination and fixed filter will not work together
Bug not valid in Newton, now using ngImages.
** Changed in: horizon
Status: Triaged => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1329415
Title:
pagination and fixed filter will not work together
Status in OpenStack Dashboard (Horizon):
Invalid
Bug description:
Steps to Reproduce:
1. Have several images
I have 2 Public and 5 Project images as displayed in Admin > Images. Please see (A) in attachment.
2. Now if you go to Project > Images, you will see at the top 3 buttons. For me it says: Project (5), Shared With Me (0) and Public (2)
3. If you click on those, they will show you the images in those categories (see (B) in attachment)
4. Now, check-out this patch: https://bugs.launchpad.net/horizon/+bug/1252649 to enable pagination on Project > Images
5. Go to Settings and set Items Per Page to 2
6. On Project > Images, it says Project (2), Shared With Me (0) and Public (1) (see (C) in attachment)
=> This is not accurate though. This is applying those filters on the
*current items* displayed on the page. With pagination enabled those
are only 2 items.
DRF Added: the Prev and Next buttons don't work quite as expected here
either. I've included my scenario and notes in comments below.
Questions:
Do we want to pagination and fixed filter to work together? Or just stick with what we have now (even though Glance supports pagination)?
Possible solution:
I don't think we should use the FixedFilter. It seems like we plan on eventually supporting filtering by column and if we have both FixedFilter and Filter - that would be confusing. Maybe we can add a 'Category' column and have Project, Shared with Me and Public as entries. Then have a dropdown menu with the choice 'Category.' This would be align with the Admin > Instances filter. Something like this?
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1329415/+subscriptions
References