Numeri assoluti nei sondaggi

Heyah,

I remember there was a great topic once explaining the usage of the poll-plugin, but even after searching the forum for 15min I can find it (found a reference to it, that leads to a 404 though). So in case that is already implemented, please let me know how to activate it and move this out of this section :wink: .


Love the polls. We are using it internally to gauge interest and make participation easier. It also acts as a replacement for doodle. One thing we are using it for is to easily pre-organise events, for e.g. asking who’s gonna come and what food they want (and having emoji in it, makes it awesome):

However, the “relative” counts are really irrelevant in this case for us. So when looking at the results, to figure out how much pizza/sushi to order, I have to make the reverse calculation. It’d be great, if I could configure the poll to use absolute instead of relative numbers on a case-to-case-basis.

6 Mi Piace

At a minimum we would be fine with a PR that add a “title” attribute to .percentage that describes how many votes total there are.

Maybe also a “hint” to work in “total” mode, but that is up to @codinghorror to decide.

4 Mi Piace

I think adding a “results” attribute which defaults to “percentage” but can also be set to “total” shouldn’t be that hard. Most of the work is done client-side anyway.

1 Mi Piace

Would a PR doing that be accepted?

1 Mi Piace

Of course it would be :wink:

1 Mi Piace

Ci siamo appena trovati nella necessità di questo con un voto di oltre 100 persone, dove servivano i numeri effettivi e non avevamo realizzato che fosse un problema. Se questo viene visualizzato nel cloud, qualcuno potrebbe indicarmi dove viene gestito nel codice, così da poter provare a darci un’occhiata?

Se hai installato il plugin Data Explorer, puoi utilizzare una query fornita in /admin/plugins/explorer?id=-16 per ottenere tutti i risultati.

1 Mi Piace

Ho capito bene che questa funzionalità non è ancora stata implementata?

In tal caso, richiederei un preventivo su Marketplace per cercare opzioni di finanziamento.

Quale sarebbe un’opzione di sondaggio adatta?

  • [poll absolute]
  • [poll absolute=true]
  • qualcos’altro…
0 voters

La documentazione attuale è

1 Mi Piace

Sto creando una PR per apportare questo miglioramento:

5 Mi Piace

Ho lasciato una nota :sweat_smile:

1 Mi Piace

Questa funzionalità è stata unita :slightly_smiling_face:

7 Mi Piace

Grazie per aver ritardato un po’ per accogliere le mie modifiche :abbracci:

1 Mi Piace

Questo argomento è stato chiuso automaticamente dopo 47 ore. Non sono più consentite nuove risposte.