Mohamad,

My solution above can be used to do this for multiple fields/criteria 
because it re-examines the whole list every time. This makes it logically 
very flexible but revisiting the whole list for every special field for 
each tiddler is not very high performance. There are other "algorithms you 
can deploy" if you describe the full problem, especially if you can share 
test data.

The thing is, what you want to achieve could be addressed more efficiently 
with better knowledge of the input data(set), and ensuring that data is 
arranged appropriately. Over in the aforementioned  github item 
https://github.com/Jermolene/TiddlyWiki5/discussions/5925 I think a 
solution may be a *report widget* designed for most reporting requirements 
ie beyond the list widget features. However even in this case you will need 
to give further thought on your input data and its structure.

Mohamad - you could generate a list of tiddlers with duplicate *A* fields 
and another with a list of duplicate *B* fields then in the list test if 
each title exists in these lists.

Regards
Tones
On Monday, 2 August 2021 at 09:23:23 UTC+10 [email protected] wrote:

> Hi,
>
> is it possible to use the same code for multiple criteria, so highlight in 
> red all occurrences of duplicates in field A and also field B within the 
> same list of tiddlers?
>
> i guess my question is can a Get / then  be used within the same filter 
> multiple times for multiple fields/criteria
>
> thanks
>
> On Sunday, August 1, 2021 at 6:17:44 PM UTC+2 PMario wrote:
>
>> Hi, 
>>
>> Since Tony did present a workable solution, the issue was moved to the 
>> discussions section at github. 
>> https://github.com/Jermolene/TiddlyWiki5/discussions/5925
>>
>> I still think, that a <<duplicates>> macro may reduce the complexity of 
>> the solution. 
>>
>> -mario
>>
>

-- 
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/388926b9-7468-464a-adad-d0f43a8a48f4n%40googlegroups.com.

Reply via email to