From 68650492d3fd37d683e700c94b7c515c396b5ae3 Mon Sep 17 00:00:00 2001 From: Wojtek Date: Thu, 15 Oct 2026 17:51:04 +0200 Subject: [PATCH] Remove question type column --- README.md | 2 +- .../components/com_testquestions/sql/updates/mysql/1.13.4.sql | 1 + .../components/com_testquestions/tmpl/questions/default.php | 2 -- com_testquestions.xml | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 administrator/components/com_testquestions/sql/updates/mysql/1.13.4.sql diff --git a/README.md b/README.md index bff3b89..bac7d0a 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,6 @@ Szkielet komponentu Joomla 6 do gromadzenia pytań testowych. ## Instalacja -W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.13.3). +W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.13.4). Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**. diff --git a/administrator/components/com_testquestions/sql/updates/mysql/1.13.4.sql b/administrator/components/com_testquestions/sql/updates/mysql/1.13.4.sql new file mode 100644 index 0000000..53199fd --- /dev/null +++ b/administrator/components/com_testquestions/sql/updates/mysql/1.13.4.sql @@ -0,0 +1 @@ +-- No database changes required for version 1.13.4. diff --git a/administrator/components/com_testquestions/tmpl/questions/default.php b/administrator/components/com_testquestions/tmpl/questions/default.php index 51b3281..19b0e31 100644 --- a/administrator/components/com_testquestions/tmpl/questions/default.php +++ b/administrator/components/com_testquestions/tmpl/questions/default.php @@ -47,7 +47,6 @@ HTMLHelper::_('behavior.multiselect'); - state->get('filter.show_answers') !== 1) : ?> @@ -77,7 +76,6 @@ HTMLHelper::_('behavior.multiselect'); - question_type)); ?> state->get('filter.show_answers') !== 1) : ?> correct_answer)); ?> diff --git a/com_testquestions.xml b/com_testquestions.xml index 837e71e..ad17388 100644 --- a/com_testquestions.xml +++ b/com_testquestions.xml @@ -4,7 +4,7 @@ 2026-10-14 Komponent GNU General Public License version 2 or later - 1.13.3 + 1.13.4 COM_TESTQUESTIONS_DESCRIPTION com_testquestions Komponent\Component\Testquestions