diff --git a/src/formater-metadata.vue b/src/formater-metadata.vue index 68a022d..e041fdb 100644 --- a/src/formater-metadata.vue +++ b/src/formater-metadata.vue @@ -151,17 +151,17 @@ export default { 'Accept-Language': this.$i18n.locale === 'fr' ? 'fre': 'eng' }, describe: null, - parameters: {}, + // parameters: {}, // recordByLine: 4, nbRecord: 12, // use for opensearch api - api: null, - geographic: ['geometry', 'box', 'lat', 'lon', 'radius'], - paging: ['maxRecords', 'index', 'page'], - removedFields: ['lang', 'name', 'q', 'organisationName', 'parentIdentifier'], - osParameters: [], - geoParameters: [], - pagingParameters: [], +// api: null, +// geographic: ['geometry', 'box', 'lat', 'lon', 'radius'], +// paging: ['maxRecords', 'index', 'page'], +// removedFields: ['lang', 'name', 'q', 'organisationName', 'parentIdentifier'], +// osParameters: [], +// geoParameters: [], +// pagingParameters: [], type: 'geonetwork' } }, diff --git a/src/formater-opensearch.vue b/src/formater-opensearch.vue index 2b6e594..575c8b4 100644 --- a/src/formater-opensearch.vue +++ b/src/formater-opensearch.vue @@ -183,8 +183,8 @@ export default { this.$store.commit('parametersChange', this.osParameters) // modification des paramètres - var evt = new CustomEvent('fmt:changeParametersEvent', {detail: {parameters: this.osParameters}}) - document.dispatchEvent(evt) +// var evt = new CustomEvent('fmt:changeParametersEvent', {detail: {parameters: this.osParameters}}) +// document.dispatchEvent(evt) // var event = new CustomEvent('fmt:metadataWithChildEvent', {detail: {uuid: this.uuid, depth: this.depth}}) // document.dispatchEvent(event) diff --git a/src/formater-requester.vue b/src/formater-requester.vue index 2cd4fb1..f6214be 100644 --- a/src/formater-requester.vue +++ b/src/formater-requester.vue @@ -14,22 +14,13 @@ export default { name: 'FormaterRequester', props: { -// lang: { -// type: String, -// default: 'en' -// }, depth: { type: Number, default:0 } }, watch: { -// lang (newvalue) { -// this.$i18n.locale = newvalue -// this.$setGnLocale(newvalue) -// this.srv = process.env.GEONETWORK + 'srv/' + (newvalue === 'fr' ? 'fre' : 'eng') + '/' -// this.headers['Accept-Language'] = newvalue === 'fr' ? 'fre': 'eng' -// }, + depth (newvalue) { console.log('nouvelle valeur depth = ' + this.depth) }