<commit_before><div class="newlink">
<?php
 if ( $sf_user->hasZim() || $sf_user->hasCredential('admin') )
        echo link_to('Neue Anlage erstellen','anlage/new') ?>
</div>

<?php include_partial('anlage/search') ?>

<h1>Anlagen</h1>
<div class="paginatelist">

<?php include_partial('anlage/list', array('anlagen' => $pager->getResults())) ?>

<?php if ($pager->haveToPaginate()): ?>
  <div class="pagination">
    <a href="<?php echo url_for('anlage/index') ?>?page=1">
      <img src="/images/first.png" alt="First page" title="First page" />
    </a>
 
    <a href="<?php echo url_for('anlage/index') ?>?page=<?php echo
$pager->getPreviousPage() ?>">
      <img src="/images/previous.png" alt="Previous page" title="Previous
page" /><commit_msg>Anlage: Fix search, broken in last paginator commit<commit_after><div class="newlink">
<?php
 if ( $sf_user->hasZim() || $sf_user->hasCredential('admin') )
        echo link_to('Neue Anlage erstellen','anlage/new') ?>
</div>

<?php include_partial('anlage/search') ?>

<h1>Anlagen</h1>
<div class="paginatelist" id="anlagen">

<?php include_partial('anlage/list', array('anlagen' => $pager->getResults())) ?>

<?php if ($pager->haveToPaginate()): ?>
  <div class="pagination">
    <a href="<?php echo url_for('anlage/index') ?>?page=1">
      <img src="/images/first.png" alt="First page" title="First page" />
    </a>
 
    <a href="<?php echo url_for('anlage/index') ?>?page=<?php echo
$pager->getPreviousPage() ?>">
      <img src="/images/previous.png" alt="Previous page" title="Previous
page" />
{'fraction_non_alphanumeric': 0.22215067611075337, 'fraction_numerical': 0.0038634900193174502, 'mean_word_length': 5.142292490118577, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 51, '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': '527200', 'n_tokens_mistral': 549, 'n_tokens_neox': 569, 'n_words': 108}