[rygel] media-export: Fix search



commit 196bb852a394ebd2f0a4f45248a29e78d72bdbdd
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]