branch icon

CMS Kit: Fix votes count for multiple vote allowed polls. #16200

Resolves #16198

There was a issue with "multiple vote allowed" polls. When user select multiple options it seems like only 1 vote has given.

Vote count increasing method was in wrong line. I fixed this bug now it works as expected. Unit test added for this scenario.

Decimal numbers added to vote percentage. I used %xy.z pattern to show vote percentages.

decimal_numbers

Also there were some problems with unit tests. They also fixed.

test-fixed

Version
8.0.1
Release Date
03 يناير, 2024
Labels
bug abp-module-cms-kit-pro