# How to segment by stage = none

**URL:** https://forum.mautic.org/t/how-to-segment-by-stage-none/5545
**Category:** General Discussion
**Created:** [September 6, 2016, 6:14am UTC](https://forum.mautic.org/t/how-to-segment-by-stage-none/5545 "2016-09-06T06:14:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![yalcin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yalcin/32/29_2.png) [@yalcin](https://forum.mautic.org/u/yalcin)
#### Post date: [September 6, 2016, 6:14am UTC](https://forum.mautic.org/t/how-to-segment-by-stage-none/5545/1 "2016-09-06T06:14:37Z")

</div>

My contacts are not assigned to a stage by default.  
  
They get stages assigned either manually or through automation.  
  
  
  
How do I segment contacts who have no stage set?  
  
Segmenting filters available for stage is either:

- equals  
- not equal  
  
  
  
There’s surely gotta be better filters available for stages e.g.  
- empty  
- not empty  
- including  
- excluding  
  
etc  
  
  
  
**I’ve tried building a series of filters, such as:**  
  
  
  
Stage not equal to aaaa  
  
AND  
  
Stage not equal to bbbb  
  
AND  
  
Stage not equal to cccc  
  
AND  
  
Stage not equal to dddd  
  
  
  
In attempt to leave behind contacts who don’t have a stage value set.  
  
**However this returns 0 contacts.**  
  
  
  
**How can I return all my contacts who don’t have a stage value set?**

---

<div class="post-metadata">

### Author: ![yalcin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yalcin/32/29_2.png) [@yalcin](https://forum.mautic.org/u/yalcin)
#### Post date: [September 6, 2016, 6:14am UTC](https://forum.mautic.org/t/how-to-segment-by-stage-none/5545/2 "2016-09-06T06:14:37Z")

</div>

My contacts are not assigned to a stage by default.  
They get stages assigned either manually or through automation.

How do I segment contacts who have no stage set?  
Segmenting filters available for stage is either:

- equals
- not equal

There’s surely gotta be better filters available for stages e.g.

- empty
- not empty
- including
- excluding  
etc

I’ve tried building a series of filters, such as:

Stage not equal to aaaa  
AND  
Stage not equal to bbbb  
AND  
Stage not equal to cccc  
AND  
Stage not equal to dddd

In attempt to leave behind contacts who don’t have a stage value set.  
However this returns 0 contacts.

How can I return all my contacts who don’t have a stage value set?

---

<div class="post-metadata">

### Author: ![yalcin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yalcin/32/29_2.png) [@yalcin](https://forum.mautic.org/u/yalcin)
#### Post date: [September 6, 2016, 10:40pm UTC](https://forum.mautic.org/t/how-to-segment-by-stage-none/5545/3 "2016-09-06T22:40:03Z")

</div>

@MxyzptlkFishStix @mqueme  
Done.  
[https://github.com/mautic/mautic/issues/2485](https://github.com/mautic/mautic/issues/2485)

Thank you.

---

<div class="post-metadata">

### Author: ![yalcin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yalcin/32/29_2.png) [@yalcin](https://forum.mautic.org/u/yalcin)
#### Post date: [September 6, 2016, 11:10pm UTC](https://forum.mautic.org/t/how-to-segment-by-stage-none/5545/4 "2016-09-06T23:10:22Z")

</div>

I have a local dev installation, just out of curiosity and play with the source code. It looks like ListModel.php (2.1.1) line 389 is where the code needs to be changed. However I don’t know if that is the only required change or if it will break something else. Still learning…
