Commit 30f7ed91 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Eteri

erp5_travel_expense: Use standard way to define custom signature_sub_storage

parent 5021d1c1
...@@ -322,13 +322,15 @@ ...@@ -322,13 +322,15 @@
type: "erp5", type: "erp5",
url: hateoas_url, url: hateoas_url,
default_view_reference: default_view default_view_reference: default_view
},
signature_sub_storage: {
type: "query",
sub_storage: {
type: "indexeddb",
database: "expense-hash-list"
}
} }
}); });
gadget.state_parameter_dict.jio_storage.__storage._signature_sub_storage = jIO.createJIO({
type: "indexeddb",
database: gadget.state_parameter_dict.jio_storage.__storage._signature_hash
});
gadget.state_parameter_dict.jio_storage.__storage._signature_sub_storage.__storage._sub_storage = gadget.state_parameter_dict.jio_storage.__storage._local_sub_storage;
}); });
}) })
......
...@@ -68,6 +68,7 @@ ...@@ -68,6 +68,7 @@
<value> <value>
<tuple> <tuple>
<string>contributor/person_module/2</string> <string>contributor/person_module/2</string>
<string>contributor/person_module/5</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -224,7 +225,7 @@ ...@@ -224,7 +225,7 @@
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
<value> <string>supercedriclen</string> </value> <value> <string>cedric.le.ninivin</string> </value>
</item> </item>
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
...@@ -238,7 +239,7 @@ ...@@ -238,7 +239,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>956.57502.32307.34304</string> </value> <value> <string>961.29586.17351.25838</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -256,7 +257,7 @@ ...@@ -256,7 +257,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1490349163.71</float> <float>1502904164.51</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