Commit dbe958f0 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_travel_expense: sort service

display service stably
parent bb90ac9d
Pipeline #24529 failed with stage
in 0 seconds
...@@ -32,7 +32,8 @@ ...@@ -32,7 +32,8 @@
return gadget.allDocs({ return gadget.allDocs({
query: 'portal_type:"Service" AND use:"hr/leave%"', query: 'portal_type:"Service" AND use:"hr/leave%"',
select_list: ['relative_url', 'title'], select_list: ['relative_url', 'title'],
limit: [0, 100] limit: [0, 100],
sort_on: [['title', 'descending']]
}); });
}) })
.push(function (result) { .push(function (result) {
......
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>996.48024.29057.43229</string> </value> <value> <string>1003.57279.16735.16315</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -266,7 +266,7 @@ ...@@ -266,7 +266,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1639131883.77</float> <float>1666692461.23</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </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