@abi-software/map-side-bar 1.1.6 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/map-side-bar.common.js +33 -30
- package/dist/map-side-bar.common.js.map +1 -1
- package/dist/map-side-bar.css +1 -1
- package/dist/map-side-bar.umd.js +33 -30
- package/dist/map-side-bar.umd.js.map +1 -1
- package/dist/map-side-bar.umd.min.js +1 -1
- package/dist/map-side-bar.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/algolia/algolia.js +2 -1
- package/src/components/SidebarContent.vue +2 -3
package/package.json
CHANGED
package/src/algolia/algolia.js
CHANGED
|
@@ -89,7 +89,8 @@ export class AlgoliaClient {
|
|
|
89
89
|
let searchData = {
|
|
90
90
|
items: response.hits,
|
|
91
91
|
total: response.nbHits,
|
|
92
|
-
discoverIds: response.hits.map(r=>r.pennsieve.identifier)
|
|
92
|
+
discoverIds: response.hits.map(r=>r.pennsieve.identifier),
|
|
93
|
+
dois: response.hits.map(r=>r.item.curie.split(':')[1])
|
|
93
94
|
}
|
|
94
95
|
resolve(searchData)
|
|
95
96
|
})
|
|
@@ -194,8 +194,7 @@ export default {
|
|
|
194
194
|
this.algoliaClient.search(getFilters(filters), query, this.numberPerPage, this.page).then(searchData => {
|
|
195
195
|
this.numberOfHits = searchData.total
|
|
196
196
|
this.discoverIds = searchData.discoverIds
|
|
197
|
-
this.
|
|
198
|
-
this.searchSciCrunch({'discoverIds':this.discoverIds})
|
|
197
|
+
this.searchSciCrunch({'dois':this.dois})
|
|
199
198
|
})
|
|
200
199
|
},
|
|
201
200
|
filtersLoading: function (val) {
|
|
@@ -331,7 +330,7 @@ export default {
|
|
|
331
330
|
},
|
|
332
331
|
created: function() {
|
|
333
332
|
//Create non-reactive local variables
|
|
334
|
-
this.searchEndpoint = "dataset_info/
|
|
333
|
+
this.searchEndpoint = "dataset_info/using_multiple_dois/";
|
|
335
334
|
}
|
|
336
335
|
};
|
|
337
336
|
</script>
|