Skip to content

How to display multiple tags in the dataview table? #2384

Answered by rycue
rycue asked this question in Q&A
Discussion options

You must be logged in to vote

Nevermind, I finally figured it out.

  1. I basically toggled the entire tags into bullet form (e.g. a dashed with a hashtag)
  2. Modified the query, particulary file.etags into file.lists.tags

BEFORE:

TABLE WITHOUT ID
	join(regexreplace(regexreplace(file.etags, "#MG/?", ""),"\d.*",""), "<br>") as "Stickers",
	join(regexreplace(regexreplace(file.etags, "[^\d{1,2}-]", ""),"[^\d].*\w$",""), "<br>") AS "Star",
	join(regexreplace(file.etags, "\W.*[^\d.*]", ""), "<br>") AS Set
FROM "02 - INFORMATION/(INFORMATION) Monopoly GoLD"
WHERE contains(file.etags, "#MG")

AFTER:

TABLE WITHOUT ID
	join(regexreplace(regexreplace(file.lists.tags, "#MG/?", ""),"\d.*",""), "<br>") as "Stickers",
	join(regexreplace(…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rycue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant