Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wiki
Manage
Activity
Members
Labels
Plan
Issues
53
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MDM Lab
Wiki
Commits
69233610
Commit
69233610
authored
1 year ago
by
Remi PLANEL
Browse files
Options
Downloads
Patches
Plain Diff
add contributors to filterable attributes
parent
9c43e772
No related branches found
No related tags found
2 merge requests
!203
Foldseek pages
,
!186
Refactor facet autocomplete
Pipeline
#120226
passed with warnings with stages
in 7 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
components/content/SystemDb.vue
+11
-5
11 additions, 5 deletions
components/content/SystemDb.vue
with
11 additions
and
5 deletions
components/content/SystemDb.vue
+
11
−
5
View file @
69233610
...
...
@@ -35,7 +35,10 @@ const autocompleteMeiliFacetsProps = ref<AutocompleteMeiliFacetProps>({
{
type
:
"
divider
"
},
{
title
:
"
PFAM
"
,
type
:
"
subheader
"
},
{
title
:
'
Acession
'
,
value
:
"
PFAM.AC
"
,
type
:
"
facet
"
,
icon
:
""
},
{
title
:
'
Description
'
,
value
:
"
PFAM.DE
"
,
type
:
"
facet
"
,
icon
:
""
}
{
title
:
'
Description
'
,
value
:
"
PFAM.DE
"
,
type
:
"
facet
"
,
icon
:
""
},
{
type
:
"
divider
"
},
{
title
:
'
Contributor
'
,
value
:
"
contributors
"
,
type
:
"
facet
"
,
icon
:
""
},
],
facetDistribution
:
undefined
})
...
...
@@ -94,7 +97,8 @@ const columnsToDownload = ref(['title', 'doi', 'Sensor', 'Activator', 'Effector'
</
script
>
<
template
>
<ServerDbTable
title=
"List Systems"
:db=
"dbName"
:sortBy=
"sortBy"
:autocomplete-meili-facets-props=
"computedAutocompleteMeiliFacetsProps"
<ServerDbTable
title=
"List Systems"
:db=
"dbName"
:sortBy=
"sortBy"
:autocomplete-meili-facets-props=
"computedAutocompleteMeiliFacetsProps"
:data-table-server-props=
"dataTableServerProps"
:columns-to-download=
"columnsToDownload"
>
...
...
@@ -108,8 +112,10 @@ const columnsToDownload = ref(['title', 'doi', 'Sensor', 'Activator', 'Effector'
<ArticleDoi
v-if=
"item?.doi"
:doi=
"item.doi"
:abstract=
"item?.abstract"
:divider=
"false"
:enumerate=
"false"
/>
</
template
>
<
template
#
[`
item.PFAM
`
]=
"{ item }"
>
<pfam-chips
v-if=
"item?.PFAM"
:pfams=
"item.PFAM"
></pfam-chips>
</
template
>
</ServerDbTable>
</template>
\ No newline at end of file
<
template
#
[`
item.contributors
`
]=
"{ item }"
>
<CollapsibleChips
v-if=
"item?.contributors"
:items=
"item.contributors.map(it => (
{ title: it }))">
</CollapsibleChips>
</
template
>
</ServerDbTable></template>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment