# Remplacer la valeur par défaut du sondage pour que "public=true"

**URL:** <https://meta.discourse.org/t/overriding-poll-default-so-public-true/279722>\
**Category:** Development\
**Tags:** polls\
**Created:** [Mai 25, 2023, 7:28 UTC](https://meta.discourse.org/t/overriding-poll-default-so-public-true/279722 "2023-05-25T07:28:55Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [Novembre 13, 2023, 7:46 UTC](https://meta.discourse.org/t/overriding-poll-default-so-public-true/279722/10 "2023-11-13T07:46:32Z")

</div>

Bonne nouvelle. 🙂 Je pense que nous avons peut-être quelque chose pour cela…

> <https://github.com/discourse/discourse/pull/24332>
>
> In the vast majority of cases, people want poll voters to be public. Previously,… the checkbox for this was hidden behind the 'show advanced' settings in the poll builder UI.
> 
> This commit makes three changes to improve the experience:
> 
> 1. Add \`public=true|false\` to poll markup (previously it would only be added when true
> 
> 2. Bring the 'public' switch outside the 'show advanced' section for improved visibility
> 
> 3. Change the default to 'true'
> 
> \<img width="300" alt="SCR-20231110-nzvk" src="https://github.com/discourse/discourse/assets/6270921/33c5e562-dda4-4867-8dc2-137ed18cffa6"\>

---

_[View the full topic](https://meta.discourse.org/t/overriding-poll-default-so-public-true/279722)._
