# Some topics are missing when using in:bookmarks in:title

**URL:** https://meta.discourse.org/t/some-topics-are-missing-when-using-in-bookmarks-in-title/265219
**Category:** Bug
**Tags:** search, bookmarks
**Created:** [May 16, 2023, 5:56pm UTC](https://meta.discourse.org/t/some-topics-are-missing-when-using-in-bookmarks-in-title/265219 "2023-05-16T17:56:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mentalstring](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mentalstring/32/168934_2.png) [@mentalstring](https://meta.discourse.org/u/mentalstring)
#### Post date: [May 16, 2023, 5:56pm UTC](https://meta.discourse.org/t/some-topics-are-missing-when-using-in-bookmarks-in-title/265219/1 "2023-05-16T17:56:27Z")

</div>

I’ve been poking the bookmarks feature and bumped into something that seems a bit off. It’s better explained with an example:

I have bookmarked this topic: [Is there a Trust Level Permissions Table?](https://meta.discourse.org/t/topic/117949/10)

When I do a search for “Is there a Trust Level Permissions Table **in:title** ”, it [finds it](https://meta.discourse.org/search?q=Is%20there%20a%20Trust%20Level%20Permissions%20Table%20in%3Atitle).

When I do a search for “Is there a Trust Level Permissions Table **in:bookmarks** ”, it [finds it](https://meta.discourse.org/search?q=Is%20there%20a%20Trust%20Level%20Permissions%20Table%20in%3Abookmarks).

When I do a search for “Is there a Trust Level Permissions Table **in:title in:bookmarks** ”, it does **NOT** [find it](https://meta.discourse.org/search?q=Is%20there%20a%20Trust%20Level%20Permissions%20Table%20in%3Abookmarks%20in%3Atitle).

Now the twist: the combination of in:title in:bookmarks _works_ for all other bookmarks I tried with, but doesn’t seem to work with (at least) this particular one.

A bug or am I missing something?

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [May 17, 2023, 10:23am UTC](https://meta.discourse.org/t/some-topics-are-missing-when-using-in-bookmarks-in-title/265219/2 "2023-05-17T10:23:21Z")

</div>

Hi Paulo!

Thanks for the report. I can repro it, but there’s a twist.

I bookmark the **topic** itself using the topic actions:

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/6/3/d63d54a7c19e433cd22730b1f1a044bbcf9f8dc6.png)

The search with `in:bookmarks` returns nothing:

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/7/6/2764f9081d47114dabeab8ad2f7d912062cacc7d.png)

The search with `in:bookmarks in:title` returns nothing as well:

 ![image](https://global.discourse-cdn.com/meta/original/4X/7/0/5/7051b85da5581b8cbbb6e0b213fdc49f23bb5b16.png)

* * *

Now, I remove the current bookmark, and bookmark a **post** from this topic instead:

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/c/b/6cb21a4b476e972884e5b81011983e871daf5d99.png)

The search with `in:bookmarks` returns the topic:

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/1/6/c167dc700bf2924c16e1a78c85f014f3d291384b.png)

The search with `in:bookmarks in:title` returns nothing:

 ![image](https://global.discourse-cdn.com/meta/original/4X/f/c/5/fc583793571ef02c8a8d199cd6a387a9232186e5.png)

---

<div class="post-metadata">

### Author: ![mentalstring](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mentalstring/32/168934_2.png) [@mentalstring](https://meta.discourse.org/u/mentalstring)
#### Post date: [May 17, 2023, 11:10am UTC](https://meta.discourse.org/t/some-topics-are-missing-when-using-in-bookmarks-in-title/265219/3 "2023-05-17T11:10:50Z")

</div>

So, if I get this right, it seems there’s a couple of different bugs here.

In my example, it was also a bookmarked _post_ and it seems you got the same result when you bookmarked a post: not finding it with `in:bookmarks in:title` (but fine with each filter individually). Let’s call this _bug1_.

But it seems you found a different bug: a bookmarked _topic_ not showing with **just** `in:bookmarks` — I think that looks even more odd? I suppose one could try to make a case (not one that I would agree with) that a bookmarked _post_ maybe shouldn’t return for a search with the topic title and `in:bookmarks` since the title is not on the bookmarked post itself (but on the topic). But not returning a match for the title of a bookmarked topic and `in:bookmarks` seems something is amiss too, specially as it works for bookmarked posts.

While I’m here, if someone looks takes a look the bookmarks code for this, maybe have a glance at another [bookmarks related issue](https://meta.discourse.org/t/disappearing-bookmarks-and-expected-behavior-of-bookmarks/264670) I recently reported which is why I have been poking at the bookmarks feature.
