Comments (2)
Thanks, I mistook the examples that show multiple query lines as meaning each element of the Obsidian query syntax needed to be in a separate query string. Thanks for the clarification - with both path and tag in the single query string the query is working as expected. Thanks for the awesomely quick response!
from obsidian-note-gallery.
@macbikegeek it's a little difficult to help you debug your issue as I don't see what question is being asked. Based on reading your issue, I feel that everything you mention is operating correctly.
In your first search string you are asking for path: TV Shows
AND tag: #to-watch
. Obsidian will only return the note matching both of those filters.
In the code-block you provided as an example, you have query
defined twice, so the second one is taking precedence...
You should try to build your query with the obsidian search menu or use debugQuery: true
. Please, let me know if you figure it out or what you want exactly...
The correct syntax is query: 'search string'
, for example:
~~~~note-gallery
query: 'path: Atlas tag: #test'
debugQuery: true
~~~~
![SCR-20240205-ujgi](https://private-user-images.githubusercontent.com/673857/302457183-a3476f16-1d75-4cf0-8e4e-7b750e696b55.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkzOTAyMDUsIm5iZiI6MTcxOTM4OTkwNSwicGF0aCI6Ii82NzM4NTcvMzAyNDU3MTgzLWEzNDc2ZjE2LTFkNzUtNGNmMC04ZTRlLTdiNzUwZTY5NmI1NS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyNlQwODE4MjVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lYjU5NjRkMDdlYmY2NzlhZjY0MTA4ZjEzNjljNjBjYjdmYzAyMDNhMzExMTJiNjJlZDg0MjZkYWM2ZGMwOTQ3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.6mZRjq-2p8YOcuuWSzEuljxoF19Gn8VMn3FsiezMrsQ)
from obsidian-note-gallery.
Related Issues (20)
- [BUG] Gallery doesn't render when "Source" mode is "Default Editing Mode" in Settings. HOT 9
- [FR] Support for Banners plugin
- [FR]
- [FR] Option to make notecards all the same size and scrollable.
- Is there a way to dynamically use the current note name in the query? HOT 1
- Can we use the current global search query to produce the list of cards?
- Regarding the images in the cards and customizing the height of the cards.
- [FR] Open in new tab HOT 3
- When adding notes on mobile, the plugin on desktop does not update automatically HOT 1
- [FR] Maximum dimensions in terms of height and width, along with a factor for scaling HOT 2
- [BUG]: Images show up even if a query does not include them HOT 4
- [FR] List notes containing a certain link
- HTML and PDF
- Filtered notes cannot be displayed in the final results
- [Bug]: Resizing of tables does not work properly HOT 1
- Note background blackens after inserting a note gallery HOT 1
- [Question] How to use on Android mobile?
- [bug] If there are more than one note-gallery in a file, they will interact with each other
- [FR] Add option: turn off auto-refresh HOT 1
- [FR] add sort option 'random'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-note-gallery.