Whenever i try to expose my filters and sorts they do not show up. The option resets itself to unpicked. Any clues???
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1_expose_published_filter_for_all_displays.png | 67.38 KB | pieterjd |
| #2 | 2-check_filter-settings.png | 62.46 KB | pieterjd |
| #2 | export.txt | 4.64 KB | pieterjd |
| #1 | export.txt | 3.53 KB | dawehner |
Comments
Comment #1
dawehnerWell it works for me, so please provide more information, just saying that it doesn't work is helpless.
Comment #2
pieterjd commentedI have the same issue. I have included screenshots of what I did.
Comment #3
rodvolpe commentedGreat work! Thank you!
Comment #4
ben coleman commentedWe're seeing the same thing here. This started happening after upgrading to 7.x-3.1.
Comment #5
dawehnerI just tryed the exact steps from http://drupal.org/node/1380528#comment-5521874 but it worked for me without problems. Maybe
it's already fixed in 7.x-3.x-dev
Comment #6
ben coleman commentedI'm beginning to suspect this is some sort of conflict with another module. We installed Views on a test Drupal 7 site here, and were not able to reproduce the problem. We then did a rebuild of the site we are having the problem on, added all of the same modules, and ran into the same problem. I'm about to rebuild the original site and incrementally add the modules, and see at which point it breaks.
Another observation, when field exposure is working, turning on field exposure causes an AJAX wait icon to pop up, and additional fields are added to the screen. When it is not working, this does not happen.
Comment #7
ben coleman commentedOK, this looks to be theme-related. As I was doing the incremental rebuild, I realized that I hadn't copied over the theme from the original site. Copied it over and activated it, and things still worked. But on the original site with the problem, this theme was also used as the Administration Theme. I changed the Administration Theme setting to Default and bingo! No AJAX on changing the 'Expose this filter to visitors, to allow them to change it' checkbox, and you can't save the change to exposed.
Changed the Administration Theme back to the default Seven, and things work fine. Until we can narrow down the source of the problem, this would seem to be the workaround.
The theme on this particular site is Artisteer-generated. rodvolpe and pieterjd, what themes are you using?
Comment #8
pieterjd commented@Ben Coleman - I am using the default bartik theme as well as the administrative theme.
However, I did a fresh install of the commerce kickstart profile, and as views is one of the pre-installed modules, I tried to do the same modifications as I described earlier and now exposing the filters works just fine.
I did notice that when I checked the 'expose filter' checkbox, now you could enter a label for the filter what did not happen before.
I will keep on trying on the orginal site and keep you all informed
Comment #9
rodvolpe commented@ Ben Coleman. I was using the AT ADMIN 7 theme. You maybe right as when I switched back to the default Seven theme and it worked but I have now tested and both are working.
Comment #10
dawehnerI'm sorry you pay money for that and you accept this shit of code? Really as you see just imagine how much time you have saved if you would have used a better solution for getting a theme.
Comment #11
pieterjd commentedAs far I can tell, it was related to the devel themer module. If it was disabled, I could expose filters without any problem. As soon as I enable the devel themer module again, the problems came back.
Unfortunately, the devel themer module is still in dev. So the only solution in this specific case is to turn off the module, modify the views and enable the themer module again if needed.
Comment #12
ben coleman commentedI'm sorry you're taking a sneering attitude just because Artisteer is one of the items provoking this bug. I'm sorry that you're prematurely closing this bug despite the fact that it's obvious from other comments that there things other than Artisteer that will provoke it.
Sneering at someone who's put in work to find out *where* this bug is coming from doesn't reflect well on the Drupal community, particularly on a high-visibility module such as Views. You may not like Artisteer, but taking a knee-jerk reaction just because it is involved isn't helpful.
For what it's worth, we'll eventually replace this theme with something else, probably Omega-derived. Artisteer (which I was not involved in buying) gave us something quick to work on the functionality.
Comment #13
dawehnerSorry but i had some personal frustrations and days of fixing a theme provided by artisteer. It's simply not what drupal is built for, sorry.
So disabling the devel themer module helps as well?
Comment #14
esmerel commentedThis can be reopened if it turns out devel themer isn't what was causing the problem.
Comment #15
udayharihar commentedwell for me the following link is working
http://localhost/drupal7/rest/view/tracker?limit=2
output:
type: Article
title: 'Welcome to Drupal'
author: 'uday'
replies: 0
last post: 'Wed, 10/31/2012 - 13:05'
history_timestamp:
node_new_comments:
-
type: Article
title: 'About Us'
author: 'uday'
replies: 0
last post: 'Wed, 10/31/2012 - 12:11'
history_timestamp:
node_new_comments:
but when i tried for filters for the below link there is no reply only...am i doing some thing wrong
http://localhost/drupal7/rest/view/tracker?filters[title]=About Us