Skip to content

Commit

Permalink
Version 5.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bihor committed Apr 12, 2024
1 parent 2af47c4 commit 87bf635
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Classes/Domain/Model/Question.php
Expand Up @@ -597,6 +597,6 @@ public function getSortedCategoriesArray() {
$queryBuilder->expr()->eq('mm.tablenames', $queryBuilder->createNamedParameter('tx_fpmasterquiz_domain_model_question'))
)
->orderBy('sys_category.sorting')
->executeQuery();
->executeQuery()->fetchAllAssociative();
}
}
6 changes: 4 additions & 2 deletions Documentation/ChangeLog/Index.rst
Expand Up @@ -214,5 +214,7 @@ ChangeLog

Bugfix for settings.pointsMode 4.

5.0.2:
Bugfix: prevent multiple ajax calls.
5.0.3:
Bugfix: prevent multiple ajax calls.

Bugfix: Matrix-Display.
7 changes: 4 additions & 3 deletions README.md
@@ -1,6 +1,6 @@
# fp_masterquiz

version 5.0.2
version 5.0.3

TYPO3 extension to create a quiz, poll or test. The participant result will be saved in the DB too and can be deleted automatically via Scheduler.

Expand Down Expand Up @@ -47,5 +47,6 @@ Changes in version 5.0:
- settings.user.checkFEuser allows now values greater than 1.
- Bugfix for pointsMode 4.

Changes in version 5.0.2:
- Bugfix: prevent multiple ajax calls.
Changes in version 5.0.3:
- Bugfix: prevent multiple ajax calls.
- Bugfix: Matrix-Display.
16 changes: 8 additions & 8 deletions Resources/Private/Partials/Question/Properties.html
Expand Up @@ -65,7 +65,7 @@
<f:comment>Nicht für jede Antwort ein Select hinzufügen, deshalb erst später hinzufügen</f:comment>
</f:case>
<f:case value="3">
<f:comment>When 'Enter an answer' in a text field</f:comment>
<f:comment>When 'Enter an answer' in a text field</f:comment>
<br/>
<div class="quiz-input{f:if(condition: '{question.optional} || {question.closed}', then: ' quiz-answer-optional')}{f:if(condition: '{answer.ownAnswer}', then: ' quiz-answer-selected')}">
<label>
Expand All @@ -92,7 +92,7 @@
</div>
</f:case>
<f:case value="5">
<f:comment>When 'Enter an answer' in a textarea</f:comment>
<f:comment>When 'Enter an answer' in a textarea</f:comment>
<br/>
<div class="quiz-textarea{f:if(condition: '{question.optional} || {question.closed}', then: ' quiz-answer-optional')}{f:if(condition: '{answer.ownAnswer}', then: ' quiz-answer-selected')}">
<label>
Expand Down Expand Up @@ -120,7 +120,7 @@
<f:form.radio name="answer_{question.uid}" value="{answer.uid}" id="star_{question.uid}_{answer.uid}" checked="checked" />
</f:then><f:else>
<f:form.radio name="answer_{question.uid}" value="{answer.uid}" id="star_{question.uid}_{answer.uid}" />
</f:else></f:if>
</f:else></f:if>
</f:then><f:else>
<f:form.radio name="answer_{question.uid}" value="{answer.uid}" id="star_{question.uid}_{answer.uid}" />
</f:else></f:if>
Expand All @@ -134,11 +134,11 @@
<f:if condition="{settings.allowHtml} == 1"><f:then>{answer.title -> f:format.raw()}</f:then><f:else>{answer.title -> f:format.nl2br()}</f:else></f:if> &nbsp;
</div></td>
<f:if condition="!{question.closed}">
<f:for each="{question.sortedCategoriesArray}" as="qcategory">
<td><label>
<f:form.radio name="answer_{question.uid}_{answer.uid}" value="{qcategory.uid}" class="quiz-radiobox" checked="{answer.ownAnswer}" />
</label></td>
</f:for>
<f:for each="{question.sortedCategoriesArray}" as="qcategory">
<td><label>
<f:form.radio name="answer_{question.uid}_{answer.uid}" value="{qcategory.uid}" class="quiz-radiobox" checked="{answer.ownAnswer}" />
</label></td>
</f:for>
</f:if>
</tr>
</f:case>
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Expand Up @@ -16,7 +16,7 @@
'category' => 'plugin',
'author' => 'Kurt Gusbeth',
'state' => 'stable',
'version' => '5.0.2',
'version' => '5.0.3',
'constraints' => [
'depends' => [
'typo3' => '12.4.0-12.4.99',
Expand Down

0 comments on commit 87bf635

Please sign in to comment.