<commit_before><?php
/**
 * @package     Mautic
 * @copyright   2014 Mautic Contributors. All rights reserved.
 * @author      Mautic
 * @link        http://mautic.org
 * @license     GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
?>

<!-- filter form -->
<form action="" class="panel" id="timeline-filters">
    <div class="form-control-icon pa-xs">
        <input type="text" class="form-control bdr-w-0" name="search" id="search" placeholder="<?php echo $view['translator']->trans('mautic.core.search.placeholder'); ?>">
        <span class="the-icon fa fa-search text-muted mt-xs"></span>
        <?php if (isset($eventTypes) && is_array($eventTypes)) : ?>
            <select name="eventFilters[]" multiple class="form-control bdr-w-0" data-placeholder="<?php echo $view['translator']->trans('mautic.lead.lead.filter.bundles.placeholder'); ?>">
            <?php foreach ($eventTypes as $typeKey => $typeName) : ?>
                <option value="<?php echo $typeKey; ?>"<?php echo in_array($typeKey, $eventFilter) ? ' selected' : ''; ?> />
                    <?php echo $typeName; ?>
                </option>
            <?php endforeach; ?><commit_msg>Fix of loading chosen options on Lead timeline filter without need to refresh the page<commit_after><?php
/**
 * @package     Mautic
 * @copyright   2014 Mautic Contributors. All rights reserved.
 * @author      Mautic
 * @link        http://mautic.org
 * @license     GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
?>

<!-- filter form -->
<form action="" class="panel" id="timeline-filters">
    <div class="form-control-icon pa-xs">
        <input type="text" class="form-control bdr-w-0" name="search" id="search" placeholder="<?php echo $view['translator']->trans('mautic.core.search.placeholder'); ?>">
        <span class="the-icon fa fa-search text-muted mt-xs"></span>
        <?php if (isset($eventTypes) && is_array($eventTypes)) : ?>
            <select name="eventFilters[]" multiple="multiple" class="form-control bdr-w-0" data-placeholder="<?php echo $view['translator']->trans('mautic.lead.lead.filter.bundles.placeholder'); ?>">
            <?php foreach ($eventTypes as $typeKey => $typeName) : ?>
                <option value="<?php echo $typeKey; ?>"<?php echo in_array($typeKey, $eventFilter) ? ' selected' : ''; ?> >
                    <?php echo $typeName; ?>
                </option>
            <?php endforeach; ?>
{'fraction_non_alphanumeric': 0.18602728400165358, 'fraction_numerical': 0.007441091360066143, 'mean_word_length': 3.033333333333333, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5997134', 'n_tokens_mistral': 743, 'n_tokens_neox': 735, 'n_words': 162}