mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 09:54:52 +01:00
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:
parent
74c2c86769
commit
afa45bd6b8
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue