Whenever i try to expose my filters and sorts they do not show up. The option resets itself to unpicked. Any clues???

Comments

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)
StatusFileSize
new3.53 KB

Well it works for me, so please provide more information, just saying that it doesn't work is helpless.

pieterjd’s picture

Version: 7.x-3.0-rc3 » 7.x-3.1
StatusFileSize
new4.64 KB
new62.46 KB
new67.38 KB

I have the same issue. I have included screenshots of what I did.

  1. A clean install of latest stable version of views - 3.1. All the modules this version needs, are also updated to the latest stable version
  2. I enabled the archive view
  3. I exposed the published filter - screenshot 1- and applied it to all displays
  4. Next I check the settings again. It Turns out the filter is not exposed -screenshot 2
  5. I saved it and ran an export, it's attached to this post
rodvolpe’s picture

Great work! Thank you!

ben coleman’s picture

We're seeing the same thing here. This started happening after upgrading to 7.x-3.1.

dawehner’s picture

I 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

ben coleman’s picture

I'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.

ben coleman’s picture

OK, 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?

pieterjd’s picture

@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

rodvolpe’s picture

@ 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.

dawehner’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)
Artisteer

I'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.

pieterjd’s picture

As 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.

ben coleman’s picture

I'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.

dawehner’s picture

Status: Closed (won't fix) » Postponed (maintainer needs more info)

Sorry 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?

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

This can be reopened if it turns out devel themer isn't what was causing the problem.

udayharihar’s picture

well 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