G'day,

Way too late for this kid to be scanning code, so I must hit the pillow.

HOWEVER ...

I notice that each of the following <$list> to not seem to have matching 
</$list> 
further down related processing:

   - <$list filter="[!has[draft.of]status[InHouse]sort[created]]">


   - <$list filter="[!has[draft.of]status[WithVendor]sort[created]]">


   - <$list filter="[!has[draft.of]status[Pending/Blocked]sort[created]]">


On Monday, May 3, 2021 at 12:38:37 AM UTC-3 [email protected] wrote:

> Hi ,
>
> i have put together this dash board  after scavenging the forum for any 
> code i can use with 0 coding experience and also with the help of people 
> here who were kind enough to answer my rudimentary questions
>
> the dashboard is meant to mimic a CRM ticketing tool in a way , so it  
> would allow me to view all tiddlers which has a specific field value ( 
> WithVendor, Inhouse and  Pending ..) and would also allow me to assign a 
> priority value for every listed tidder
>
> what i noticed is that for some reason , the listed tiddlers are 
> duplicated  , so every tiddler appears twice in the dash board.
>
> i believe it has to do with the way i laid out my filters ,
>
> so my thinking is 
>
> list Filter 1   to get all tiddlers with which has filed value " inhouse"
> list Filter 2   to get all tiddlers with which has filed value " 
> WithVendor" 
> list Filter 3   to get all tiddlers with which has filed value " Pending" 
>
> I was hoping by doing so i would be able to have a grouped view for 
> tidlers with matching criteria, and maybe perhaps expand collapse them if 
> possible
>
> i think the filters are not being treated as separate , and probably are 
> operating as one big broken filter, i might be wrong.. 
>
> but if possible can someone point out to me where the mistake is in the 
> code that is causing the duplication ?
>
> [image: screenshot.PNG]
>
> this is the code , which does other stuff as well
>
> \define tagme() [[$(tagx)$]]
>
> {{||TiddlyTools/Time/CountDown}}
> <$list filter= 
> "[!has[draft.of]status[InHouse]sort[created]]">
>
> <li> 
>
>       <$link><$view field="created" format="date" template="DDth mmm 
> hh:mm"/> - <$view field="title"/></$link>
>         
> <$list filter="
> [[<currentTiddler>!days:created[-10]]"> @@color:red;^^old^^@@
>
>
>
>
>
> </$list>
>
>
> <p>
> <small><$list filter="[all[current]tags[]]"><<tag>></$list></small>
> <p>
>
>
>
>
>
> <$set name=tagx value={{!!title}}>
> <$button>
> <$action-listops $tags=<<tagme>> 
> <$action-sendmessage $message="tm-new-tiddler" title="Child" 
> tags=<<tagme>> text=<<now "Today is DDth, MMM YYYY">>/> 
> <$action-sendmessage $message="tm-new-tiddler" title="Child" 
> tags={{!!tags}} /> 
>
> {{$:/core/images/github}}</$button>
>
>
>
>
> <p>
>
> @@color:brown; Priority<$select field="priority"…>
> <option disabled> </option>
> <option>1</option>
> <option>2</option>
> <option>3</option>
> <option>4</option>
>
> </$select>
> <p>
> Status  <$select 
> field="status"…>
> <option disabled></option>
> <option>Pending/Blocked</option>
> <option>WithVendor</option>
> <option>InHouse</option>
> <option>Completed</option>
>
> </$select>
>
>
> <p>
> Dependant <$select 
> field="dependant"…>
> <$list filter='[tag[task]]'>
> <option><$view field='title'/></option>
> </$list>
> </$select>
> <$tiddler tiddler={{$:/generated-list-demo-state}}>
> <$transclude mode='block'/>
> </$tiddler>
>
>
>
> <p>
> <$details 
> summary="View"state="!!accordion1" >
>  {{!!text}}
> </$details>
> <$details 
> summary="Edit"state="!!accordion1" >
>
> <$edit field="text"/> 
> </$details>
>
>
>
>
> <$list filter= 
> "[!has[draft.of]status[WithVendor]sort[created]]">
>
>
>
> <li> 
>
>       <$link><$view field="created" format="date" template="DDth mmm 
> hh:mm"/> - <$view field="title"/></$link>
>         <$list filter="
> [[<currentTiddler>!days:created[-10]]"> @@color:red;^^old^^@@</$list>
>
>
>
> <p>
> <small><$list filter="[all[current]tags[]]"><<tag>></$list></small>
> <p>
>
> <$set name=tagx value={{!!title}}>
> <$button>
> <$action-listops $tags=<<tagme>> 
> <$action-sendmessage $message="tm-new-tiddler" title="Child" 
> tags=<<tagme>> text=<<now "Today is DDth, MMM YYYY">>/> 
> <$action-sendmessage $message="tm-new-tiddler" title="Child" 
> tags={{!!tags}} /> 
>
> {{$:/core/images/github}}</$button>
>
>
>
>
> <p>
> @@color:brown; Priority<$select field="priority"…>
> <option disabled> </option>
> <option>1</option>
> <option>2</option>
> <option>3</option>
> <option>4</option>
>
> </$select>
> <p>
> Status  <$select 
> field="status"…>
> <option disabled></option>
> <option>Pending/Blocked</option>
> <option>WithVendor</option>
> <option>InHouse</option>
> <option>Completed</option>
>
>
>
> </$select>
> <p>
> Dependant <$select 
> field="dependant"…>
> <$list filter='[tag[task]]'>
> <option><$view field='title'/></option>
> </$list>
> </$select>
> <$tiddler tiddler={{$:/generated-list-demo-state}}>
> <$transclude mode='block'/>
> </$tiddler>
>
>
>
> <p>
>
>
> <$details 
> summary="View"state="!!accordion1" >
>  {{!!text}}
> </$details>
> <$details 
> summary="Edit"state="!!accordion1" >
>
> <$edit field="text"/> 
> </$details>
>
>
>
> <$list filter= 
> "[!has[draft.of]status[Pending/Blocked]sort[created]]">
>
> <li> 
>
>       <$link><$view field="created" format="date" template="DDth mmm 
> hh:mm"/> - <$view field="title"/></$link>
>         <$list filter="
> [[<currentTiddler>!days:created[-10]]"> @@color:red;^^old^^@@</$list>
>
>
>
>
> <p>
> <small><$list filter="[all[current]tags[]]"><<tag>></$list></small>
> <p>
>
> <$set name=tagx value={{!!title}}>
> <$button>
> <$action-listops $tags=<<tagme>> 
> <$action-sendmessage $message="tm-new-tiddler" title="Child" 
> tags=<<tagme>> text=<<now "Today is DDth, MMM YYYY">>/> 
> <$action-sendmessage $message="tm-new-tiddler" title="Child" 
> tags={{!!tags}} /> 
>
> {{$:/core/images/github}}</$button>
>
>
>
>
> <p>
>
> @@color:brown; Priority<$select field="priority"…>
> <option disabled> </option>
> <option>1</option>
> <option>2</option>
> <option>3</option>
> <option>4</option>
>
> </$select>
> <p>
> Status  <$select 
> field="status"…>
> <option disabled></option>
> <option>Pending/Blocked</option>
> <option>WithVendor</option>
> <option>InHouse</option>
> <option>Completed</option>
>
> </$select>
>
> <$details>
>
> summary="View"state="!!accordion1" >
>  {{!!text}}
> </$details>
> <$details 
> summary="Edit"state="!!accordion1" >
>
> <$edit field="text"/> 
> </$details>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/aede9a46-b535-43cc-aa0c-af3c86de7f5an%40googlegroups.com.
  • [tw5] Help paulgilbert2000
    • [tw5] Re: Help Charlie Veniot

Reply via email to