Skip to content

Commit

Permalink
Filtering fix from dev
Browse files Browse the repository at this point in the history
  • Loading branch information
my-curiosity committed May 23, 2023
1 parent 2f4cd2b commit 097a78e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions templates/course_table.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,11 @@ Example context (json):
<thead>
<tr>
<th>ID</th>
<th>{{#str}}startdate{{/str}}</th>
<th>{{#str}}shortnamecourse{{/str}}</th>
<th>{{#str}}fullnamecourse{{/str}}</th>
<th>{{label_level_1}}</th>
<th>{{label_level_2}}</th>
<th>{{#str}}startdate{{/str}}</th>
<th>{{#str}}visible{{/str}}</th>
</tr>
</thead>
Expand All @@ -190,8 +190,6 @@ require(['tool_supporter/load_information', 'jquery', 'core/ajax', 'core/notific
var columns1 = [
{data: 'id', "searchable": true, name: 'ID'},
{data: 'startdate', name: '{{#str}}startdate{{/str}}',
"visible": {{#showstartdate}}true{{/showstartdate}}{{^showstartdate}}false{{/showstartdate}}},
{data: 'shortname', "searchable": true, name: '{{#str}}shortnamecourse{{/str}}',
"visible": {{#showshortname}}true{{/showshortname}}{{^showshortname}}false{{/showshortname}}},
{data: 'fullname', name: '{{#str}}fullnamecourse{{/str}}',
Expand All @@ -200,6 +198,8 @@ require(['tool_supporter/load_information', 'jquery', 'core/ajax', 'core/notific
"visible": {{#showlevel1}}true{{/showlevel1}}{{^showlevel1}}false{{/showlevel1}}},
{data: 'level_two', name: '{{label_level_2}}',
"visible": {{#showlevel2}}true{{/showlevel2}}{{^showlevel2}}false{{/showlevel2}}},
{data: 'startdate', name: '{{#str}}startdate{{/str}}',
"visible": {{#showstartdate}}true{{/showstartdate}}{{^showstartdate}}false{{/showstartdate}}},
{data: 'visible', name: '{{#str}}visible{{/str}}',
"visible": {{#showvisible}}true{{/showvisible}}{{^showvisible}}false{{/showvisible}}}
];
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2023052301; // The current plugin version (Date: YYYYMMDDXX).
$plugin->version = 2023052302; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2020110900; // Requires Moodle version 3.10 or higher.
$plugin->component = 'tool_supporter'; // Full name of the plugin (used for diagnostics).
$plugin->release = 'v1.05';
Expand Down

0 comments on commit 097a78e

Please sign in to comment.