I have this script, that shows my areas if they have an image.
I would like to define which folder it should look in, similar to From in dataview. Here it looks at that folder and all it’s subfolders.
How is that done in dataviewjs?
And yes, I’m a 100% noob when it comes to js, so the script could properly be much smarter
```dataviewjs
let searchterm = dv.current().searchterm;
let pages = dv.pages(searchterm)
.where(p => p.img != undefined && p.type)
.where(p => p.type.includes("Area"))
.where(p => p.type.includes("Private"))
.sort(p => p.file.name, 'asc');
dv.table(["File","Description"],
pages
.map(p => [
`<img class="myTableImg" src="${this.app.vault.adapter.basePath}/${p.img.path}">`,
p.file.link,
p.description
])
);
```