# Search for things with field list if things intersects. with another list of things

**URL:** <https://forum.bubble.io/t/search-for-things-with-field-list-if-things-intersects-with-another-list-of-things/99296>\
**Category:** Database\
**Created:** [June 28, 2020, 12:18am UTC](https://forum.bubble.io/t/search-for-things-with-field-list-if-things-intersects-with-another-list-of-things/99296 "2020-06-28T00:18:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![keith](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/keith/32/56020_2.png) [@keith](https://forum.bubble.io/u/keith)\
**Post date:** [June 28, 2020, 12:47am UTC](https://forum.bubble.io/t/search-for-things-with-field-list-if-things-intersects-with-another-list-of-things/99296/2 "2020-06-28T00:47:11Z")

</div>

You may be correct. (Depends on your exact use case.)

You’re looking for `:contains`. You might also have to use the “Advanced” condition to `:filter` a list of Things by the criteria “this Thing’s field-of-some-type :contains some-list-of-things-of-that-same-type”.

Such expressions can be difficult to build and are not possible in all cases. And, when possible, are not always particularly performant.

Bubble is array-oriented but (simultaneously) frowns on explicit iteration. Your own description of the problem says, “Hey, all I wanna do is iterate over some list.” But this is explicitly impossible in Bubble. _THERE IS NO ‘FOR’ LOOP IN (vanilla) BUBBLE._

There is, in fact, NO type of loop in vanilla Bubble EXCEPT for the implicit map-filter operation implied by the Advanced :filter parameter.

You can do this type of map-filtering using my List Shifter plugin (using the PROCESS List action), or by writing the correct Advanced filter operation in vanilla Bubble.

---

_[View the full topic](https://forum.bubble.io/t/search-for-things-with-field-list-if-things-intersects-with-another-list-of-things/99296)._
