Hello,
I tried to export sort criteria with views 7.x-3.0-rc1 or with last dev version. I ckecked the checkbox to expose the sort criteria, but when i came back on my sort criteria settings, the checkbox is empty (instead of remaining checked).
And i can't see anywhere the exposed form of sort criteria, nor in my view, neither in a block when i choose to put exposed forms in a separate block.
Sorry for my awful english.
Comments
Comment #1
dawehnerThere is a feature called "issue title" which should be used to summarize the issue in a few words.
Broken doesn't add any kind of helpful informations.
Here is a view which works, and got imported without any problems.
Can you please try to read http://drupal.org/node/571990 and report some helpful informations?
Comment #2
nyl_auster commentedThanks for answering.
When i import your views, it works but i have the same issue : it is not possible to remove sort criteria.
the main information is that we can't uncheck or check the checkbox "Expose this sort to visitors, to allow them to change it ". The checkbox does not retains its value.
You can reproduce this bug with your own view : in your case, it is not possible to remove the exposed sort criteria.
I suppose i can export and reimport my view and put this line from FALSE to TRUE as a workaround for now.
$handler->display->display_options['sorts']['created']['exposed'] = TRUE;
Comment #3
dawehnerIs it just me that you didn't wrote this in your initial description?
Comment #4
nyl_auster commentedI thought "I ckecked the checkbox to expose the sort criteria" was clear enough. Sorry if that wasn't. As i said, my english si far from perfect :-)
Did you manage to reproduce the issue ?
Comment #5
duaelfrI have the same issue.
Create a view, add it a sort citeria then check the "expose" option for this criteria.
Reopen the criteria options, the checkbox stays unchecked and there is no exposed sort after saving the view.
Comment #6
duaelfrAfter some investigation the problem seems to come from the admin theme
#1114038: Exposed Filter checkbox doesn't seem to work in AT Admin of Adaptivetheme
Comment #7
dawehner@nyl auster
What kind of theme do you use? Did you tryed to switch to the seven admin theme?
Comment #8
skilip commentedSame issue here. I'm using the latest DEV version and my admin theme is Seven.
Comment #9
skilip commentedFound out that when I disable the Button module, the problem disappears. After digging a bit deeper, I discovered that the button wrapper SPAN element, generated by Button Style is causing troubles. I'm still not sure why this causes troubles though.
Comment #10
Rechi commentedSame issue, using seven as admin theme and views 3.0-rc1, button style module is NOT used.
To sum up: No changes to the "expose filter to users" checkbox are saved.
After importing the view from #1 exposed sorting seemed to work but I wasn't able
to deactivate it.
Comment #11
Rechi commentedDeactivating any developer module solved the issue for me.
Comment #12
dawehnerSo this is entirely not an issue of views :)
Comment #13
kevcol commentedI replicated the same issue -- and fix after disabling Developer module.
Comment #15
andremaha commented#11 Has solved it for me! Just deactivate all the developers modules. Thank you, Rechi, you saved my day!