Skip to content
Snippets Groups Projects
Commit 4f15674e authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

constant facets

parent 97fe7306
No related branches found
No related tags found
No related merge requests found
Pipeline #116177 passed with stages
in 7 minutes and 27 seconds
......@@ -50,7 +50,15 @@ const filter: Ref<string> = ref('')
const hitsPerPage: Ref<number> = ref(25)
const limit = ref(1000)
const itemValue = ref("id");
const facets = ref(["type"])
const facets = ref([
"type",
"Superkingdom",
"phylum",
"order",
"family",
"genus",
"species",
])
const page = ref(1)
const prependHeaders = ref([
{ title: "Replicon", key: "replicon" },
......@@ -77,10 +85,6 @@ const appendHeaders = ref([
function capitalize([first, ...rest]) {
return first.toUpperCase() + rest.join('').toLowerCase();
}
const computedFacets = computed(() => {
return [...facets.value, selectedTaxoRank.value]
})
const {
......@@ -96,7 +100,7 @@ const {
limit,
hitsPerPage,
page,
computedFacets,
facets,
msSortBy
)
......
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