erp5_officejs: fix jio_configurator
... | @@ -15,10 +15,10 @@ | ... | @@ -15,10 +15,10 @@ |
type: "replicate", | type: "replicate", | ||
// XXX This drop the signature lists... | // XXX This drop the signature lists... | ||
query: { | query: { | ||
query: 'portal_type:"' + portal_type | query: 'portal_type: ("Presentation", "Web Page", "Spreadsheet", "Text", "Web Illustration")' | ||
|
|||
// XX Synchonizing the whole module is too much, here is a way to start quietly | // XX Synchonizing the whole module is too much, here is a way to start quietly | ||
// Supsended until modification_date is handled for synchronization | // Supsended until modification_date is handled for synchronization | ||
+ '" AND modification_date:>="' | + ' AND modification_date:>="' | ||
+ old_date.toISOString() + '" ', | + old_date.toISOString() + '" ', | ||
limit: [0, 1234567890] | limit: [0, 1234567890] | ||
}, | }, | ||
... | @@ -42,9 +42,7 @@ | ... | @@ -42,9 +42,7 @@ |
}, | }, | ||
remote_sub_storage: { | remote_sub_storage: { | ||
type: "erp5", | type: "erp5", | ||
url: (new URI("hateoas")) | url: "./hateoas", | ||
.absoluteTo(location.href) | |||
.toString(), | |||
default_view_reference: "jio_view" | default_view_reference: "jio_view" | ||
} | } | ||
}; | }; | ||
... | @@ -172,4 +170,4 @@ | ... | @@ -172,4 +170,4 @@ |
}); | }); | ||
}(window, rJS, RSVP)); | }(window, rJS, RSVP)); | ||
\ No newline at end of file |