[rygel/rygel-0.16] media-export: Fix search



commit 2fca572c9aa2324102d2a770967a289d41a6ea1d
Author: Mark Ryan <mark d ryan intel com>
Date:   Thu Aug 30 13:03:10 2012 +0200

    media-export: Fix search
    
    Search seems to have been broken in the media-export backend by the changes
    to sorting.  Two parameters were being passed to
    MediaCache.get_objects_by_search_expression in the wrong order.  To fix
    we simply need to pass the arguments in the correct order.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=683028

 .../rygel-media-export-db-container.vala           |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-db-container.vala b/src/plugins/media-export/rygel-media-export-db-container.vala
index 61141a2..f78a236 100644
--- a/src/plugins/media-export/rygel-media-export-db-container.vala
+++ b/src/plugins/media-export/rygel-media-export-db-container.vala
@@ -71,8 +71,8 @@ public class Rygel.MediaExport.DBContainer : MediaContainer,
         try {
             children = this.media_db.get_objects_by_search_expression
                                         (expression,
-                                         sort_criteria,
                                          this.id,
+                                         sort_criteria,
                                          offset,
                                          max_count,
                                          out total_matches);



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