plone / mockup

A collection of client side patterns for faster and easier web development
http://plone.github.io/mockup/
BSD 3-Clause "New" or "Revised" License
47 stars 93 forks source link

structure not intuitive how to query across folders #381

Open djay opened 10 years ago

djay commented 10 years ago

It would be hugely productive to use structure to be able to do adhoc searches across a whole site for example, find all unpublished files and publish them.

Not sure the best way to achieve this but one idea is this

djay commented 10 years ago

actually the current implemention does allow you to query across folders... but it's not obvious. You have to add a path/location criteria of absolute_path=/ to override the implicit path criteria.

vangheem commented 10 years ago

Does everything still work as expected when overriding the path like that?

If so, I think providing the explicit path to the default query would be a good, simple solution.

djay commented 10 years ago

So far it seems to work as expected. I was able to do publish files in many folders at once.