<commit_before><?php
/**
 * User: <NAME>
 * Email: <EMAIL>
 * Phone: +880 172 7456 280
 * Date: 6/8/2015
 * Time: 12:49 AM
 */
?>

<form action="" method="get" class="form-inline" name="dataGridFormFilter" id="dataGridFormFilter">
    <?php /* die(print_r($fields)); */ foreach($fields as $key => $field){ ?>
        <?php if( array_key_exists('access',$field) && !Easol_AuthorizationRoles::hasAccess($field['access'])) continue; ?>
        <?php if($key=='Result'){?>
            <input type="hidden" name="filter[Result]" value="<?= $field['default'] ?>" id="filter-form-result">

        <?php continue; } ?>
        <?php if($field['type']=='dataSort'){ ?>
        <div class="form-group <?= $field['type'] ?>">
        <label for="filter-<?= $key ?>"><?= $field['label'] ?></label>
        <select class="form-control" name="filter[<?= $key ?>][column]">
            <?php foreach($field['columns'] as $colKey => $colValue){ ?>
                <option <?= ($colKey==$field['defaultColumn']) ? "selected" : ""  ?> value="<?= $colKey ?>"><?= $colValue ?></option>
            <?php } ?>
        </select>
        </div>
        <div class="form-group">
            <label for="filter-<?= $key ?>-type"><?= $field['sortTypeLabel'] ?></label>
            <select class="form-control" name="filter[<?= $key ?>][type]">
                <?php foreach($field['sortTypes'] as $sortTypeKey => $sortTypeValue) {  ?>
                    <option <?= ($sortTypeKey==$field['defaultSortType']) ? "selected" : ""  ?> value="<?= $sortTypeKey ?>"><?= $sortTypeValue ?></option>
                <?php } ?>
            </select><commit_msg>#34 remove Sort field from filter area<commit_after><?php
/**
 * User: <NAME>
 * Email: <EMAIL>
 * Phone: +880 172 7456 280
 * Date: 6/8/2015
 * Time: 12:49 AM
 */
?>

<form action="" method="get" class="form-inline" name="dataGridFormFilter" id="dataGridFormFilter">
    <?php /* die(print_r($fields)); */ foreach($fields as $key => $field){ ?>
        <?php if( array_key_exists('access',$field) && !Easol_AuthorizationRoles::hasAccess($field['access'])) continue; ?>
        <?php if($key=="Sort") continue; ?>
        <?php if($key=='Result'){?>
            <input type="hidden" name="filter[Result]" value="<?= $field['default'] ?>" id="filter-form-result">

        <?php continue; } ?>
        <?php if($field['type']=='dataSort'){ ?>
        <div class="form-group <?= $field['type'] ?>">
        <label for="filter-<?= $key ?>"><?= $field['label'] ?></label>
        <select class="form-control" name="filter[<?= $key ?>][column]">
            <?php foreach($field['columns'] as $colKey => $colValue){ ?>
                <option <?= ($colKey==$field['defaultColumn']) ? "selected" : ""  ?> value="<?= $colKey ?>"><?= $colValue ?></option>
            <?php } ?>
        </select>
        </div>
        <div class="form-group">
            <label for="filter-<?= $key ?>-type"><?= $field['sortTypeLabel'] ?></label>
            <select class="form-control" name="filter[<?= $key ?>][type]">
                <?php foreach($field['sortTypes'] as $sortTypeKey => $sortTypeValue) {  ?>
                    <option <?= ($sortTypeKey==$field['defaultSortType']) ? "selected" : ""  ?> value="<?= $sortTypeKey ?>"><?= $sortTypeValue ?></option>
                <?php } ?>
            </select>
{'fraction_non_alphanumeric': 0.24555589032841219, 'fraction_numerical': 0.014462187405845135, 'mean_word_length': 3.0736196319018405, 'pattern_counts': {'":': 0, '<': 90, '<?xml version=': 0, '>': 96, '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': '2392636', 'n_tokens_mistral': 1064, 'n_tokens_neox': 1036, 'n_words': 206}