Commit f916b7fe authored by Boris Kocherov's avatar Boris Kocherov

erp5_officejs: rename 'Json Schema' to JSON Schema

parent 57bca603
......@@ -148,7 +148,7 @@
// Update the global links
.push(function () {
return context.jio_allDocs({
"query": 'portal_type:"Json Schema"',
"query": 'portal_type:"JSON Schema"',
"limit": [0, 31],
"select_list": ["title", "reference"],
"sort_on": [["title", "descending"]]
......
......@@ -14,7 +14,7 @@
</head>
<body>
<script data-renderjs-configuration="portal_type" type="text/x-renderjs-configuration">Json Schema</script>
<script data-renderjs-configuration="portal_type" type="text/x-renderjs-configuration">JSON Schema</script>
<script data-renderjs-configuration="upload_content_type" type="text/x-renderjs-configuration">application/json</script>
<script data-renderjs-configuration="document_title" type="text/x-renderjs-configuration">Schema</script>
<script data-renderjs-configuration="document_title_plural" type="text/x-renderjs-configuration">Schemas</script>
......
......@@ -92,7 +92,7 @@
if (url.startsWith("urn:jio:reference?")) {
reference = decodeURIComponent(url.replace("urn:jio:reference?", ""));
args = {
query: '(portal_type: "Json Schema") AND ((reference: "' + reference + '"))',
query: '(portal_type: "JSON Schema") AND ((reference: "' + reference + '"))',
limit: [0, 1],
select_list: [],
sort_on: [["modification_date", "descending"]]
......
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