From 55985805d96879c4356ff5794624bb121c72c12d Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Tue, 15 Mar 2005 10:00:58 +0000
Subject: [PATCH] corrected variable, so the reverse sort with listbox can work
 properly

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2711 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ZSQLCatalog/SQLCatalog.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ZSQLCatalog/SQLCatalog.py b/product/ZSQLCatalog/SQLCatalog.py
index 6a4fcd0a25..70a6cdd78f 100755
--- a/product/ZSQLCatalog/SQLCatalog.py
+++ b/product/ZSQLCatalog/SQLCatalog.py
@@ -1264,7 +1264,7 @@ class Catalog(Folder, Persistent, Acquisition.Implicit, ExtensionClass.Base):
             index_list = [sort_index]
           for index in index_list:
             if index.find(' ') > 0:
-              new_index.append([x.strip() for x in sort_index.split(' ')])
+              new_index.append([x.strip() for x in index.split(' ')])
             elif so is not None and len(so)==len(index_list):
               new_index.append([index,so[index_list.index(index)]])
             else:
-- 
2.30.9