From b8c32e563453793ed92e311d4585d54fc77fbb04 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 21 Dec 2011 10:30:33 +0100 Subject: [PATCH] Add test case for cql_sortby_to_sortkeys (sort prefix) --- test/test_cql2ccl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_cql2ccl.c b/test/test_cql2ccl.c index 482e47a..e9ebe38 100644 --- a/test/test_cql2ccl.c +++ b/test/test_cql2ccl.c @@ -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\"", -- 1.7.10.4