Show command may re-search for targets that support it
[pazpar2-moved-to-github.git] / src / settings.c
index 759d4bc..d355cf3 100644 (file)
@@ -77,6 +77,7 @@ static char *hard_settings[] = {
     "pz:facetmap:",
     "pz:limitmap:",
     "pz:url",
+    "pz:sortmap:",
     0
 };
 
@@ -344,7 +345,7 @@ static void update_database_fun(void *context, struct database *db)
     int offset;
 
     // Is this the right database?
-    if (!match_zurl(db->url, set->target))
+    if (!match_zurl(db->id, set->target))
         return;
 
     offset = settings_create_offset(service, set->name);