Bonjour,
Désolé pour le délai de réponse si long mais j'ai une bonne nouvelle
Il semble en effet que je me sois trompé en pensant que l'erreur venait de la BDD, il y a bien une erreur dans le code qui fausse la donnée.
Pour réparer cela il suffit de remplacer ce code dans le fichier tableform.php (administrator\components\com_hikashop\views\report\tmpl):
<fieldset id='partners_options' class="adminform">
<legend><?php echo JText::_( 'OPTIONS' ); ?></legend>
<table class="paramlist admintable table" width="100%">
<tr id="widget_status">
<td class="key" >
<?php echo JText::_( 'DISPLAYED_INFORMATION' ); ?>
</td>
<td>
<select name="data[widget][widget_params][table][<?php echo $this->row->row_id; ?>][widget_params][customers]" size=3>
<option <?php if(!isset($this->row->widget_params->customers) || $this->row->widget_params->customers=='last_customer') echo "selected=\"selected\""; ?> value="last_customer"><?php echo JText::_( 'LAST_PARTNER' ); ?></option>
<option <?php if(isset($this->row->widget_params->customers) && $this->row->widget_params->customers == 'best_customer') echo "selected=\"selected\""; ?> value="best_customer"><?php echo JText::_( 'BEST_PARTNER' ); ?></option>
<option <?php if(isset($this->row->widget_params->customers) && $this->row->widget_params->customers == 'total_customers') echo "selected=\"selected\""; ?> value="total_customers"><?php echo JText::_( 'TOTAL_PARTNERS' ); ?></option>
</select>
</td>
</tr>
</table>
</fieldset>
Par celui là:
<fieldset id='partners_options' class="adminform">
<legend><?php echo JText::_( 'OPTIONS' ); ?></legend>
<table class="paramlist admintable table" width="100%">
<tr id="widget_status">
<td class="key" >
<?php echo JText::_( 'DISPLAYED_INFORMATION' ); ?>
</td>
<td>
<select name="data[widget][widget_params][table][<?php echo $this->row->row_id; ?>][widget_params][partners]" size=3>
<option <?php if(!isset($this->row->widget_params->partners) || $this->row->widget_params->partners=='last_partners') echo "selected=\"selected\""; ?> value="last_partners"><?php echo JText::_( 'LAST_PARTNER' ); ?></option>
<option <?php if(isset($this->row->widget_params->partners) && $this->row->widget_params->partners == 'best_partners') echo "selected=\"selected\""; ?> value="best_partners"><?php echo JText::_( 'BEST_PARTNER' ); ?></option>
<option <?php if(isset($this->row->widget_params->partners) && $this->row->widget_params->partners == 'total_partners') echo "selected=\"selected\""; ?> value="total_partners"><?php echo JText::_( 'TOTAL_PARTNERS' ); ?></option>
</select>
</td>
</tr>
</table>
</fieldset>