Closed (won't fix)
Project:
Node Gallery
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2011 at 12:19 UTC
Updated:
24 Sep 2012 at 16:48 UTC
Jump to comment: Most recent file
Comments
Comment #1
justintime commentedSounds pretty cool -- I'd certainly commit it.
Comment #2
crea commentedPatch attached.
Comment #3
crea commentedI've decided to drop support for privileged user browsing any user's albums. I think it wouldn't work because of number of albums. The select element would be too huge and unmanageble. I think different types of widgets are required for that task (Hierarchical Select, autocomplete, etc).
Comment #4
crea commentedI've noticed small bug: when ajax is enabled and the filter is set to remember selection, when I use pager on initial view load, the gallery selector resets to the first option in the list. The default filter selection is not present in the URL at the first page load, and when I change page using AJAX, remembered filter selection is not working for some reason
If I disable AJAX, the bug disappears. I tend to think this is a bug of Views.
I've created a Views issue for this #1248332: "Remember" feature of exposed filters doesn't work with AJAX and is generally fragile
UPDATE: I've reproduced this bug with simple node view, without Node Gallery involvement.
Comment #5
crea commentedBtw, this works wonderfully together with filter autosubmission from the Views Hacks project.
Comment #6
crea commentedNote that this a very basic filter. I thought about adding more features to it such as filtering out empty galleries, but decided to not do it. We can't support every usecase anyway and the best thing we can do is to provide basic implementation. Advanced selectors could be implemented using this handler as a parent class.
Comment #7
zengenuity commentedAt this point, I won't be adding new features to the D6 version. If features are wanted for D7, please post a new issue.