Commit dbe958f0 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_travel_expense: sort service

display service stably
parent bb90ac9d
......@@ -32,7 +32,8 @@
return gadget.allDocs({
query: 'portal_type:"Service" AND use:"hr/leave%"',
select_list: ['relative_url', 'title'],
limit: [0, 100]
limit: [0, 100],
sort_on: [['title', 'descending']]
});
})
.push(function (result) {
......
......@@ -248,7 +248,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>996.48024.29057.43229</string> </value>
<value> <string>1003.57279.16735.16315</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -266,7 +266,7 @@
</tuple>
<state>
<tuple>
<float>1639131883.77</float>
<float>1666692461.23</float>
<string>UTC</string>
</tuple>
</state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment