dokuwiki-plugin-struct icon indicating copy to clipboard operation
dokuwiki-plugin-struct copied to clipboard

option to show only match when filtering Multi-input field

Open JoinGitHub1 opened this issue 7 years ago • 2 comments

When using a comparator I would like the output to only show the match and hide other data in the Multi-input field.

Would this be possible and how would the inline edit work?

JoinGitHub1 avatar Aug 24 '18 10:08 JoinGitHub1

Sorry, I'm not sure understand. Can you explain a bit better under what circumstances the problem occurs? Eg. what's your schema and syntax? Maybe a screenshot would help?

splitbrain avatar Jan 10 '19 15:01 splitbrain

When i filter a value, I would like only the the match to be shown - not all the data in a multiple value field:

---- struct table ----
schema: hostnameip
cols     : %pageid%, ip, description
head: Hostname, IP, Desc
filter: ip=1.1.1.1
----

image

I was hoping for an output like this: 1.1.1.1 Not like this: 1.1.1.1,2.2.2.2,3.3.3.3 - even if that is correct due to hitting 1.1.1.1 in filter.

Usecase - when showing all hosts with IP ~192.168.0.* (IP-PLAN) -- then hosts with multiple IP addresses will not make any clutter in the table.

JoinGitHub1 avatar Apr 01 '19 14:04 JoinGitHub1