chg: [decaying:simulation] restSearch comments added to be fixed in next

decaying version
pull/5032/head
mokaddem 2019-09-12 10:16:07 +02:00
parent 5a291d87a5
commit 70f77f7c0e
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
2 changed files with 4 additions and 4 deletions

View File

@ -502,6 +502,8 @@ class DecayingModelController extends AppController
$this->set('all_models', $allowed_models);
}
// TODO: Consider using the export tool to perform the post treatement
// as this does not mirror a complete restSearch (not using fetchAttribute)
public function decayingToolRestSearch($continue = false)
{
if ($this->request->is('post') || $this->request->is('put')) {
@ -529,9 +531,7 @@ class DecayingModelController extends AppController
if ($filters === false) {
return $exception;
}
if (!isset($filters['includeEventTags'])) {
$filters['includeEventTags'] = 1;
}
$filters['includeEventTags'] = 1;
if (!isset($filters['excludeDecayed'])) {
$filters['excludeDecayed'] = 0;
}

View File

@ -21,7 +21,7 @@
<div class="tab-content" style="padding: 5px; height: 100%;">
<div class="tab-pane <?php echo isset($attribute_id) ? '' : 'active'; ?>" id="restsearch" style="height: 100%;">
<div style="display: flex; flex-direction: column; height: 100%;">
<h3 style="">Attribute RestSearch<span style="vertical-align: top; font-size: x-small;" class="fa fa-question-circle" title="Enforced fields: returnFormat"></span></h3>
<h3 style="">Attribute RestSearch<span style="vertical-align: top; font-size: x-small;" class="fa fa-question-circle" title="Enforced fields: [returnFormat, includeEventTags]"></span></h3>
<?php
$registered_taxonomies = array_keys($decaying_model['DecayingModel']['parameters']['base_score_config']);
foreach ($registered_taxonomies as $i => &$taxonomy_name) {