Index: sources/rb-library-source.c
===================================================================
RCS file: /cvs/gnome/rhythmbox/sources/rb-library-source.c,v
retrieving revision 1.147
diff -u -r1.147 rb-library-source.c
--- sources/rb-library-source.c	18 Feb 2006 09:47:13 -0000	1.147
+++ sources/rb-library-source.c	18 Feb 2006 12:03:45 -0000
@@ -635,6 +635,21 @@
 	source->priv->search_text = g_strdup (search_text);
 	rb_library_source_do_query (source);
 
+	{
+		RhythmDBQueryModel *query_model;
+		GPtrArray *query;
+		query_model = rhythmdb_query_model_new_empty (source->priv->db);
+	
+		query = construct_query_from_selection (source);
+		rhythmdb_do_full_query_async_parsed (source->priv->db, 
+						     RHYTHMDB_QUERY_RESULTS (query_model), 
+						     query);
+		rhythmdb_query_free (query);
+		/* use query_model to constrain browser */
+		rb_library_browser_set_model(source->priv->browser, 
+					     query_model); 
+	}
+
 	rb_source_notify_filter_changed (RB_SOURCE (source));
 }
 
