tracker r3141 - in trunk: . src/libtracker-data



Author: mottela
Date: Fri Mar 27 13:20:59 2009
New Revision: 3141
URL: http://svn.gnome.org/viewvc/tracker?rev=3141&view=rev

Log:
Fixed an issue with order-type join conditions

Modified:
   trunk/ChangeLog
   trunk/src/libtracker-data/tracker-data-search.c

Modified: trunk/src/libtracker-data/tracker-data-search.c
==============================================================================
--- trunk/src/libtracker-data/tracker-data-search.c	(original)
+++ trunk/src/libtracker-data/tracker-data-search.c	Fri Mar 27 13:20:59 2009
@@ -682,7 +682,11 @@
 				tracker_field_data_set_is_select (field_data, TRUE);
 			}
 
-			break;
+			if (is_order) {
+				tracker_field_data_set_is_order (field_data, TRUE);
+			}
+			
+			break;			
 		}
 	}
 
@@ -696,6 +700,10 @@
 		if (field_data) {
 			*fields = g_slist_prepend (*fields, field_data);
 		}
+
+		if (is_order) {
+			tracker_field_data_set_is_order (field_data, TRUE);
+		}
 	}
 
 	return field_data;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]