# Filtering Notes

**URL:** https://discourse.notenik.app/t/filtering-notes/78
**Category:** Questions
**Created:** [July 12, 2022, 9:41pm UTC](https://discourse.notenik.app/t/filtering-notes/78 "2022-07-12T21:41:27Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![mrpasini](https://discourse.notenik.app/user_avatar/discourse.notenik.app/mrpasini/32/16_2.png) [@mrpasini](https://discourse.notenik.app/u/mrpasini)
#### Post date: [July 12, 2022, 9:41pm UTC](https://discourse.notenik.app/t/filtering-notes/78/1 "2022-07-12T21:41:27Z")

</div>

How would I show a list of a subset of Notes?

I might, for example, only want to see all the Notes from the past month or only the notes with a certain proper name in them.

---

<div class="post-metadata">

### Author: ![hbowie](https://discourse.notenik.app/user_avatar/discourse.notenik.app/hbowie/32/6_2.png) [@hbowie](https://discourse.notenik.app/u/hbowie)
#### Post date: [July 13, 2022, 4:49pm UTC](https://discourse.notenik.app/t/filtering-notes/78/2 "2022-07-13T16:49:26Z")

</div>

There’s not really an easy way to do that right now. Let me give it a good think and see what I can come up with.

The only thing available now that is close to what you might be looking for is in this section of the Knowledge Base: [Generating Reports](https://notenik.app/knowledge-base/EPUB/html/generating-reports.html).

---

<div class="post-metadata">

### Author: ![hbowie](https://discourse.notenik.app/user_avatar/discourse.notenik.app/hbowie/32/6_2.png) [@hbowie](https://discourse.notenik.app/u/hbowie)
#### Post date: [July 24, 2022, 1:14am UTC](https://discourse.notenik.app/t/filtering-notes/78/3 "2022-07-24T01:14:15Z")

</div>

Check out the [Query Builder](https://notenik.app/knowledge-base/EPUB/html/query-builder.html) that is available with Version 9.9.0, and see if that scratches this particular itch.

---

<div class="post-metadata">

### Author: ![mrpasini](https://discourse.notenik.app/user_avatar/discourse.notenik.app/mrpasini/32/16_2.png) [@mrpasini](https://discourse.notenik.app/u/mrpasini)
#### Post date: [July 25, 2022, 12:01am UTC](https://discourse.notenik.app/t/filtering-notes/78/4 "2022-07-25T00:01:37Z")

</div>

That is indeed a comprehensive solution to the question I asked.

I really like being able to edit the template to a slightly different layout. And I like having the report listed in the toolbar, too. And I really appreciate the linked titles to get back to Notenik for editing.

I’m not entirely keen on being bounced to my browser, though. I wonder why you don’t just open a new Notenik window to display the report.

I’d think that would be beneficial for an iOS version of Notenik (been reading the code).

My original ask envisioned something a lot simpler, actually. Type something in the Search box and see only the Notes in the List panel that match that. Delete the Search box term to restore the full list of Notes.

Your report-based solution is far more comprehensive and can do more sophisticated field comparisons. I didn’t test the date field extensively but I suspect these are all text-based comparisons rather than calculations. Still, more than I was expecting.

(And before I sign off, I want to applaud the elegance of Notenik’s icon, which embarrasses everything else in my Dock!).

---

<div class="post-metadata">

### Author: ![hbowie](https://discourse.notenik.app/user_avatar/discourse.notenik.app/hbowie/32/6_2.png) [@hbowie](https://discourse.notenik.app/u/hbowie)
#### Post date: [July 25, 2022, 12:19am UTC](https://discourse.notenik.app/t/filtering-notes/78/5 "2022-07-25T00:19:32Z")

</div>

Thanks for the feedback! Glad it works for you!

In terms of comparisons, Notenik generally tries to perform comparisons with as much intelligence as it can reasonably muster, based on field types, and the nature of the text it’s being passed.

In terms of an iOS version, I’m not at all sure that’s something I’ll ever get around to, although I’d be happy to have an iOS version available.

In terms of sending the query/report to your browser, that was actually the easiest and quickest thing for me to do. But now that I know the rest of it is working ok, I should be able to send it to a Notenik window in the next release.

And thanks for the feedback about the icon! Glad you like it!

---

<div class="post-metadata">

### Author: ![hbowie](https://discourse.notenik.app/user_avatar/discourse.notenik.app/hbowie/32/6_2.png) [@hbowie](https://discourse.notenik.app/u/hbowie)
#### Post date: [July 30, 2022, 2:44pm UTC](https://discourse.notenik.app/t/filtering-notes/78/6 "2022-07-30T14:44:48Z")

</div>

Version 10.0.0 is out, and it includes a change to show the query output in a Notenik internal window. Let me know how this works out for you!

---

<div class="post-metadata">

### Author: ![mrpasini](https://discourse.notenik.app/user_avatar/discourse.notenik.app/mrpasini/32/16_2.png) [@mrpasini](https://discourse.notenik.app/u/mrpasini)
#### Post date: [July 30, 2022, 3:19pm UTC](https://discourse.notenik.app/t/filtering-notes/78/7 "2022-07-30T15:19:11Z")

</div>

Thanks! I ussed the toolbar icon to access my previous report and it did write the report to a new Notenik window but it also wrote it to a window in my browser.

What change to the .tcz file do I have to make to skip browser output? I see `template|generate|browse|file://...` in there. Or is there some other place I should be looking?

---

<div class="post-metadata">

### Author: ![hbowie](https://discourse.notenik.app/user_avatar/discourse.notenik.app/hbowie/32/6_2.png) [@hbowie](https://discourse.notenik.app/u/hbowie)
#### Post date: [July 30, 2022, 3:27pm UTC](https://discourse.notenik.app/t/filtering-notes/78/8 "2022-07-30T15:27:32Z")

</div>

Just remove the line containing `browse`. That’s the one that’s opening the output in your browser.

---

<div class="post-metadata">

### Author: ![mrpasini](https://discourse.notenik.app/user_avatar/discourse.notenik.app/mrpasini/32/16_2.png) [@mrpasini](https://discourse.notenik.app/u/mrpasini)
#### Post date: [July 30, 2022, 4:12pm UTC](https://discourse.notenik.app/t/filtering-notes/78/9 "2022-07-30T16:12:13Z")

</div>

Ah ha!

Now can I enforce a screen location and window size on that report?

---

<div class="post-metadata">

### Author: ![hbowie](https://discourse.notenik.app/user_avatar/discourse.notenik.app/hbowie/32/6_2.png) [@hbowie](https://discourse.notenik.app/u/hbowie)
#### Post date: [July 30, 2022, 4:46pm UTC](https://discourse.notenik.app/t/filtering-notes/78/10 "2022-07-30T16:46:12Z")

</div>

No way to do that currently. What would make the most sense? It would be fairly easy to just stash away the size and location of the Query Results window, and then try to restore that each time any query is run.

---

<div class="post-metadata">

### Author: ![mrpasini](https://discourse.notenik.app/user_avatar/discourse.notenik.app/mrpasini/32/16_2.png) [@mrpasini](https://discourse.notenik.app/u/mrpasini)
#### Post date: [July 30, 2022, 4:53pm UTC](https://discourse.notenik.app/t/filtering-notes/78/11 "2022-07-30T16:53:35Z")

</div>

> [@hbowie](#):
>
> It would be fairly easy to just stash away the size and location of the Query Results window, and then try to restore that each time any query is run.

That’s what I’m after. But the report appears in an inconvenient place in too small a window so I have to drag it and resize it manually. How would I “stash” that somewhere?

---

<div class="post-metadata">

### Author: ![hbowie](https://discourse.notenik.app/user_avatar/discourse.notenik.app/hbowie/32/6_2.png) [@hbowie](https://discourse.notenik.app/u/hbowie)
#### Post date: [July 30, 2022, 5:02pm UTC](https://discourse.notenik.app/t/filtering-notes/78/12 "2022-07-30T17:02:36Z")

</div>

Sorry, I wasn’t clear. When I said “fairly easy” I meant easy for me to program and include in the next release!

---

<div class="post-metadata">

### Author: ![mrpasini](https://discourse.notenik.app/user_avatar/discourse.notenik.app/mrpasini/32/16_2.png) [@mrpasini](https://discourse.notenik.app/u/mrpasini)
#### Post date: [July 30, 2022, 5:23pm UTC](https://discourse.notenik.app/t/filtering-notes/78/13 "2022-07-30T17:23:16Z")

</div>

Oh, _Notenik_ would stash it? This really feels like real _bespoke_ software! Thanks!
