tsgrp / HPI

OpenContent Management Suite (OCMS)
http://www.tsgrp.com/products
17 stars 5 forks source link

Related Objects - Better Pagination, performance, and filtering support for many documents #436

Open joehof opened 10 years ago

joehof commented 10 years ago

Currently, the foldertree uses two templates, the folder-tree template and the node-template template (relatedobjects.html). When folder tags are used, the top relation get the folder-tree template, and every object that is returned (including folders or tags) gets a node-template. This leads to node-template building more node-templates.

The problem is that the node-template, if a folder or tag, is an hpi collection, which is topped off at 25 items. We have since added a change that shows ALL of the items, but this could esily become unwieldy for folders or tags with many items. The better approach would be creating a new template which allows for navigation of the folder using pages in the related objects.

gsteimer commented 10 years ago

@joehof - if we do this for subfolders, would we want the main folder loaded in the stage to use the same pageable controls? Seems like that might be a good idea vs. only implementing the pageable controls for subfolders.

Also - we need to know how to handle the filtering when thinking through this. Some questions I have:

gsteimer commented 9 years ago

Updated the title, since when we tackle this one, we'll want it to work consistently across: