Steps to reproduce
- Create a new note
- Paste this base:
```base
views:
- type: table
name: Table
filters:
and:
- tags.contains("a")
- tags.contains("b")
```
- Click the base’s
+ Newbutton
Did you read and follow the Troubleshooting Guide ?
Yes
Expected result
The new note has:
---
tags:
- a
- b
---
Actual result
The new note has:
---
tags: b
---
Environment
SYSTEM INFO:
Obsidian version: 1.14.0
Installer version: 1.13.6
Operating system: Windows 11 Pro for Workstations 10.0.26200
Login status: logged in
Language: en
Catalyst license: supporter
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0
RECOMMENDATIONS:
none
Additional information
The issue occurs with any list-type or unassigned-type property, not just tags.
This filter works as expected:
tags.containsAll("a", "b")
However, grouping any combination of contains() and containsAll() filters, such as
filters:
and:
- tags.containsAll("a", "b")
- tags.contains("c")
- tags.containsAll("d", "e")
always writes only the last listed filter’s values to the note:
---
tags:
- d
- e
---
Summary: When two or more contains() or containsAll() filters for the same property are grouped, only the last filter’s conditions are written to new notes created from the base.