# Min. Confidence level in citations filter

**URL:** <https://gramps.discourse.group/t/min-confidence-level-in-citations-filter/1853>\
**Category:** Help\
**Created:** [September 25, 2021, 4:08pm UTC](https://gramps.discourse.group/t/min-confidence-level-in-citations-filter/1853 "2021-09-25T16:08:36Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![PLegoux](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/plegoux/32/413_2.png) [@PLegoux](https://gramps.discourse.group/u/PLegoux)\
**Post date:** [September 25, 2021, 4:08pm UTC](https://gramps.discourse.group/t/min-confidence-level-in-citations-filter/1853/1 "2021-09-25T16:08:36Z")

</div>

(Gramps 5.1.3 @win10)

Where I can change the minimum confidence level used by default for filtering citations?

I would prefer to have the very low level by default in the place of the normal level.

(I think that question had already asked but I can’t find it nor the answer)

Thanks

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [September 25, 2021, 4:49pm UTC](https://gramps.discourse.group/t/min-confidence-level-in-citations-filter/1853/2 "2021-09-25T16:49:10Z")

</div>

In program file

`\gramps\gui\filters\sidebar\_citationsidebarfilter.py`

at line 72

`self.filter_conf.set_active(Citation.CONF_NORMAL)`

The options are:

```auto
Citation.CONF_VERY_HIGH
Citation.CONF_HIGH
Citation.CONF_NORMAL
Citation.CONF_LOW
Citation.CONF_VERY_LOW

```

---

<div class="post-metadata">

**Author:** ![SNoiraud](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/snoiraud/32/72_2.png) [@SNoiraud](https://gramps.discourse.group/u/SNoiraud)\
**Post date:** [September 25, 2021, 6:17pm UTC](https://gramps.discourse.group/t/min-confidence-level-in-citations-filter/1853/3 "2021-09-25T18:17:53Z")

</div>

It could be useful to have a preference option for that.  
This option could be used when we create a citation.  
If you think it is important, make a feature request.

---

<div class="post-metadata">

**Author:** ![PLegoux](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/plegoux/32/413_2.png) [@PLegoux](https://gramps.discourse.group/u/PLegoux)\
**Post date:** [September 25, 2021, 6:30pm UTC](https://gramps.discourse.group/t/min-confidence-level-in-citations-filter/1853/4 "2021-09-25T18:30:42Z")

</div>

I don’t ever do that. Is it like opening a bug in Mantis?

---

<div class="post-metadata">

**Author:** ![PLegoux](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/plegoux/32/413_2.png) [@PLegoux](https://gramps.discourse.group/u/PLegoux)\
**Post date:** [September 25, 2021, 6:31pm UTC](https://gramps.discourse.group/t/min-confidence-level-in-citations-filter/1853/5 "2021-09-25T18:31:24Z")

</div>

Thanks for that code.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [September 25, 2021, 7:19pm UTC](https://gramps.discourse.group/t/min-confidence-level-in-citations-filter/1853/6 "2021-09-25T19:19:14Z")

</div>

> [@PLegoux](#):
>
> I don’t ever do that. Is it like opening a bug in Mantis?

Yes. There are 2 ‘projects’ in the MantisBT tool: ‘Gramps’ for bug reports; and ‘Feature Requests’. (Or 3, if you choose ‘All Projects’.)

If you are set to ‘All Projects’ when you choose the ‘Report Issue’, then MantisBT will ask you to choose a project before showing the data entry form.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [August 24, 2023, 7:06pm UTC](https://gramps.discourse.group/t/min-confidence-level-in-citations-filter/1853/9 "2023-08-24T19:06:15Z")

</div>

feature request was filed Jun 2020 but was not targeted for 5.2 as requested  
[0011797](https://gramps-project.org/bugs/view.php?id=11797) feedback • Feature Requests • _[Citation Confidence Levels]Change “Min. Conf.” to be set to “Very Low” by default, so that all citations are shown by default_

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [September 20, 2023, 11:39pm UTC](https://gramps.discourse.group/t/min-confidence-level-in-citations-filter/1853/10 "2023-09-20T23:39:09Z")

</div>

There are 2 lines to be modified

Line 81

> <https://github.com/gramps-project/gramps/blob/238d3b3a3377f5a0b6fddb288130535d74323887/gramps/gui/filters/sidebar/_citationsidebarfilter.py#L81>

self.filter\_conf.set\_active(Citation.CONF\_VERY\_LOW)

Line 145

> <https://github.com/gramps-project/gramps/blob/238d3b3a3377f5a0b6fddb288130535d74323887/gramps/gui/filters/sidebar/_citationsidebarfilter.py#L145>

self.filter\_conf.set\_active(Citation.CONF\_VERY\_LOW)

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [September 21, 2023, 12:44am UTC](https://gramps.discourse.group/t/min-confidence-level-in-citations-filter/1853/11 "2023-09-21T00:44:25Z")

</div>

added “Change Citation view Filter gramplet defaults to find all ~~PR#[1601](https://github.com/gramps-project/gramps/pull/1601)”~~ _(included 148 commits instead of just the 1)_

Change Citation view Filter gramplet defaults to find all · [Commit for #1601](https://github.com/gramps-project/gramps/pull/1601/commits/158d2ca98b8328b047f73e38d8cdef5bfdff5eb5)
