diff --git a/src/formater-list-contact.vue b/src/formater-list-contact.vue
index 3b5da07..f4b34e5 100644
--- a/src/formater-list-contact.vue
+++ b/src/formater-list-contact.vue
@@ -42,10 +42,10 @@ export default {
FormaterContact
},
props: {
- lang: {
- type: String,
- default: 'en'
- },
+// lang: {
+// type: String,
+// default: 'en'
+// },
responsibleParty: {
type: Array,
default: () => []
@@ -56,9 +56,9 @@ export default {
}
},
watch: {
- lang (newvalue) {
- this.$i18n.locale = newvalue
- },
+// lang (newvalue) {
+// this.$i18n.locale = newvalue
+// },
responsibleParty2 (newvalue) {
this.updateContacts(newvalue)
}
@@ -72,8 +72,8 @@ export default {
}
},
created () {
- this.$i18n.locale = this.lang
- this.$setGnLocale(this.lang)
+ //this.$i18n.locale = this.lang
+ //this.$setGnLocale(this.lang)
this.updateContacts(this.responsibleParty)
this.updateContacts(this.responsibleParty2)
diff --git a/src/formater-list-metadata.vue b/src/formater-list-metadata.vue
index 4b8a2cb..7970dc4 100644
--- a/src/formater-list-metadata.vue
+++ b/src/formater-list-metadata.vue
@@ -10,7 +10,7 @@
diff --git a/src/opensearch/index.js b/src/formater-opensearch.vue
similarity index 64%
rename from src/opensearch/index.js
rename to src/formater-opensearch.vue
index 0144090..8da300a 100644
--- a/src/opensearch/index.js
+++ b/src/formater-opensearch.vue
@@ -3,20 +3,59 @@
* and process the response to match a geonetwork response
*
* @author epointal
- */
-
-
+ *
+ **/
+
+
+
diff --git a/src/formater-paging.vue b/src/formater-paging.vue
index c1b02de..8c3b574 100644
--- a/src/formater-paging.vue
+++ b/src/formater-paging.vue
@@ -48,10 +48,10 @@ export default {
type: Number,
default: 4
},
- lang: {
- type: String,
- default: 'en'
- },
+// lang: {
+// type: String,
+// default: 'en'
+// },
depth: {
type: Number,
default: 0
@@ -74,10 +74,10 @@ export default {
}
},
watch: {
- lang (newvalue) {
- this.$i18n.locale = newvalue
+// lang (newvalue) {
+// this.$i18n.locale = newvalue
- },
+// },
recordByLine (newvalue) {
console.log('recordByLine change')
this.updateRecordsPerPage(newvalue)
@@ -88,7 +88,7 @@ export default {
},
created: function() {
this.recordPerPage = this.nbRecord
- this.$i18n.locale = this.lang
+ // this.$i18n.locale = this.lang
this.metadataListListener = this.receiveTotalRecord.bind(this)
document.addEventListener('fmt:metadataListEvent', this.metadataListListener)
this.searchEventListener = this.handleSearch.bind(this)
diff --git a/src/main.js b/src/main.js
index bc89920..258f800 100644
--- a/src/main.js
+++ b/src/main.js
@@ -18,6 +18,7 @@ Vue.use(VueI18n);
import VueResource from 'vue-resource'
Vue.use(VueResource);
+
// import {VueTools} from 'formater-commons-components-vjs'
// Vue.use(VueTools)
diff --git a/src/store/index.js b/src/store/index.js
index 1f706a3..417b5a3 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -20,7 +20,11 @@ export default function makeStore( config ) {
},
spatialExtent: [[-60,-120],[75,130]],
searchArea: null,
- parameters: {}
+ parameters: {
+ paging:{},
+ geo: {},
+ dates: {}
+ }
}
var finalConfig = Object.assign(defaultConfig, config)
console.log(defaultConfig)