I have a view with exposed filter (ajax-enabled). It works fine on separate page, but in embedded form it doesn't show filter form:

<div class="view view-price view-id-price view-display-id-default view-dom-id-1 views-processed">
  <div class="view-filters">
    <div><div class="views-exposed-form">
      <div class="views-exposed-widgets clear-block">
        <div class="views-exposed-widget views-widget-filter-title">
           Search
           <div class="views-widget">
             <div class="form-item">
             </div>
        </div>
      </div>
      <div class="views-exposed-widget views-submit-button">
      </div>
      </div>
   </div>
  </div>
    </div>
  
    <div class="view-content">
       ... content ...
    </div>
  
    <div class="item-list">
       ... pager ...
    </div>  
</div>

But then I click on view pager and select another page it shows form. I can select first page again and it still shows filter form:

<div class="view view view-price view-id-price view-display-id-default view-dom-id-1 view-price view-id-price view-display-id-default view-dom-id-1 views-processed">
      <div class="view-filters">
      <form action="/price" accept-charset="UTF-8" method="get" id="views-exposed-form-price-default" class="views-processed">
<div><div class="views-exposed-form">
  <div class="views-exposed-widgets clear-block">
          <div class="views-exposed-widget views-widget-filter-title">
                  <label for="edit-title">
            Search          </label>
                        <div class="views-widget">
          <div class="form-item" id="edit-title-wrapper">
 <input type="text" maxlength="128" name="title" id="edit-title" size="30" value="" class="form-text">
</div>
        </div>
      </div>
                    <div class="views-exposed-widget views-submit-button">
      <input type="submit" id="edit-submit-price" value="Apply" class="form-submit">
    </div>
      </div>
</div>

</div><input type="hidden" name="view_name" value="price"><input type="hidden" name="view_display_id" value="default"><input type="hidden" name="view_args" value=""><input type="hidden" name="view_path" value="node/1817"><input type="hidden" name="view_base_path" value="price"><input type="hidden" name="view_dom_id" value="1"><input type="hidden" name="pager_element" value="0"></form>
    </div>
  
  
    <div class="view-content">
       ... content ...
    </div>
  
    <div class="item-list">
       ... pager ...
    </div>  
</div>

In other words it doesn't show filter form initially. But after switching to a second or another page it shows filter form.

How to fix it? Help please.

Comments

pasqualle’s picture

Status: Active » Postponed (maintainer needs more info)

is it still a problem with latest views release?

igor mashevskyi’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

D6 reached its EOL back in February 2016, and there is no active release for D6 for this module anymore.
Development or support is not planned for D6. All D6-related issues are marked as outdated in a bunch.

Everyone can apply the patch above (not tested by the maintainers, tested by the community) to their D6 projects.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.

Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.