When I create a View with exposed filters and an "entity content" display, the exposed filters don't appear in the entity content.

The attached Views export demonstrates this behavior on page nodes with comments.

CommentFileSizeAuthor
#2 1236390_2_exposed_filters.patch589 bytesszantog
eva_test.view_.txt10.64 KBbecw

Comments

Anonymous’s picture

I am also facing this problem. Any assistance would be appreciated.
Cheers.

szantog’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new589 bytes

The quickest solution is just use ajax in views settings.

/**
 * Node content views use exposed widgets only if AJAX is set.
 */
function uses_exposed() {
  if ($this->use_ajax()) {
    return parent::uses_exposed();
  }
  return FALSE;
}

But this should be come from some previous issue, isn't it? If it is, it should be solved, I think. I've tested, when remove this lines, and exposed filters and everythig worked well. I attach the patch, could somebody confirm this?
If I'm not right, I think, this will be marked as won't fix.

fago’s picture

Status: Needs review » Needs work

This doesn't suffice, the path need to be defined. See #1301410: Make exposed form available as extra field contains a fix for that problem.

mkadin’s picture

Status: Needs work » Closed (duplicate)

I'm closing this as a duplicate of #1301410: Make exposed form available as extra field which could use someone to review.