ruby: query: fix get sort

The order was wrong, right now `query.sort` doesn't return a number.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
Felipe Contreras 2023-04-03 14:27:21 -06:00 committed by David Bremner
parent 74c2c86769
commit afa45bd6b8

View file

@ -45,7 +45,7 @@ notmuch_rb_query_get_sort (VALUE self)
Data_Get_Notmuch_Query (self, query);
return FIX2INT (notmuch_query_get_sort (query));
return INT2FIX (notmuch_query_get_sort (query));
}
/*