Allow export of Collection queries to a Query
We, like many institutions, have experienced "Collection Creep", over the years, that is, we have accumulated many collections which are no longer necessary for software distribution. The logic used in these collections however is still valid and can occasionally be useful, so it would be very handy if we could simply export the logic to a query, which could then be run as required. It could be designed so that an include or exclude could also include the logic from those collections, and restricted to only work on Query-based collections.
