<commit_before><?php

namespace hipanel\modules\server\grid;

use hipanel\grid\DataColumn;
use hipanel\modules\server\widgets\combo\ServerCombo;
use hiqdev\combo\Combo;
use yii\helpers\Html;

class ServerColumn extends DataColumn
{
    public $attribute = 'device_id';
    public $nameAttribute = 'device';
    public $format = 'html';

    public function init () {
        parent::init();
        if (!$this->filterInputOptions['id']) {
            $this->filterInputOptions['id'] = $this->attribute;
        }
        if (!$this->filter && $this->grid->filterModel) {<commit_msg>Changed ServerColumn default attribute name device->server<commit_after><?php

namespace hipanel\modules\server\grid;

use hipanel\grid\DataColumn;
use hipanel\modules\server\widgets\combo\ServerCombo;
use hiqdev\combo\Combo;
use yii\helpers\Html;

class ServerColumn extends DataColumn
{
    public $attribute = 'server_id';
    public $nameAttribute = 'server';
    public $format = 'html';

    public function init () {
        parent::init();
        if (!$this->filterInputOptions['id']) {
            $this->filterInputOptions['id'] = $this->attribute;
        }
        if (!$this->filter && $this->grid->filterModel) {
{'fraction_non_alphanumeric': 0.14392059553349876, 'fraction_numerical': 0.0, 'mean_word_length': 3.5660377358490565, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6783177', 'n_tokens_mistral': 357, 'n_tokens_neox': 370, 'n_words': 75}