Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

pageLimit option does not work well for navigation which using tags filering #175

Closed
dmitrisweb opened this issue Aug 27, 2015 · 2 comments
Assignees
Labels

Comments

@dmitrisweb
Copy link

There are few issues related to tag filtering:

  1. Project has a flat structure - all items copied into '/items' folder and for building navigation used tag filtering. Now if limit amount of items only first column will have items.
  2. Auto-generated link "All specs XX" - shows total for all items, but not filtered

screen shot 2015-08-27 at 16 11 01

Example:

<script type="text/javascript">
  define('sourceModules/inlineOptions', {
      modulesOptions : {
          globalNav : {
              pageLimit: 5
          }
      }
  });
</script>

<div class="source_subhead">
  <h1>My Collection</h1>
</div>


<div class="source_col">
  <div class="source_catalog" data-nav="/items" data-tag="widget">
    <h2 class="source_catalog_title"><a href="/collections/widgets">Widgets</a></h2>
    <p>My widgets.</p>
  </div>
</div>

<div class="source_col">
  <div class="source_catalog" data-nav="/items" data-tag="module">
    <h2 class="source_catalog_title"><a href="/collections/modules">Modules</a></h2>
    <p>My modules.</p>
  </div>
</div>

<div class="source_col">
  <div class="source_catalog" data-nav="/items" data-tag="container">
    <h2 class="source_catalog_title"><a href="/collections/containers">Containers</a></h2>
    <p>My containers.</p>
  </div>
</div>
@robhrt7 robhrt7 added the bug label Aug 27, 2015
@robhrt7
Copy link
Member

robhrt7 commented Aug 27, 2015

Hi, thanks for the report. Will plan a fix in next release

@cheshirsky cheshirsky self-assigned this Aug 27, 2015
@cheshirsky
Copy link
Member

Fixed in navigation fixes branch.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants