[Checkins] SVN: Products.ZCatalog/trunk/src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py re-order daterangeindex multi-union arguments in inverted case

Hano Schlichting cvs-admin at zope.org
Sat Jun 2 23:54:03 UTC 2012


Log message for revision 126559:
  re-order daterangeindex multi-union arguments in inverted case
  

Changed:
  U   Products.ZCatalog/trunk/src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py

-=-
Modified: Products.ZCatalog/trunk/src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
===================================================================
--- Products.ZCatalog/trunk/src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py	2012-06-02 21:21:11 UTC (rev 126558)
+++ Products.ZCatalog/trunk/src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py	2012-06-02 23:53:59 UTC (rev 126559)
@@ -319,7 +319,7 @@
             until = multiunion(self._until.values(None, term - 1))
             since = multiunion(self._since.values(term + 1))
 
-            result = multiunion([until_only, since_only, until, since])
+            result = multiunion([since, since_only, until_only, until])
             if REQUEST is not None and catalog is not None:
                 cache[cachekey] = result
 



More information about the checkins mailing list