Add test case for cql_sortby_to_sortkeys (sort prefix)
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 21 Dec 2011 09:30:33 +0000 (10:30 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 21 Dec 2011 09:30:54 +0000 (10:30 +0100)
test/test_cql2ccl.c

index 482e47a..e9ebe38 100644 (file)
@@ -178,6 +178,8 @@ static void tst(void)
                           "title,,1,0,lowValue"));
     YAZ_CHECK(tst_query_s("a sortby title/missingHigh", "\"a\"",
                           "title,,1,0,highValue"));
+    YAZ_CHECK(tst_query_s("a sortby title/sort.missingHigh", "\"a\"",
+                          "title,,1,0,highValue"));
     YAZ_CHECK(tst_query_s("a sortby title/bogus", "\"a\"", 0));
 
     YAZ_CHECK(tst_query_s("a sortby dc.year dc.author", "\"a\"",