mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-03 04:22:27 +00:00
Removed outputWalkers for pagination
Due to overload, we disabled output walkers (see https://github.com/whiteoctober/Pagerfanta/issues/115
This commit is contained in:
parent
24becc9717
commit
9deac0c597
2 changed files with 2 additions and 4 deletions
|
@ -319,7 +319,7 @@ class EntryController extends Controller
|
||||||
$this->get('lexik_form_filter.query_builder_updater')->addFilterConditions($form, $qb);
|
$this->get('lexik_form_filter.query_builder_updater')->addFilterConditions($form, $qb);
|
||||||
}
|
}
|
||||||
|
|
||||||
$pagerAdapter = new DoctrineORMAdapter($qb->getQuery());
|
$pagerAdapter = new DoctrineORMAdapter($qb->getQuery(), true, false);
|
||||||
|
|
||||||
$entries = $this->get('wallabag_core.helper.prepare_pager_for_entries')
|
$entries = $this->get('wallabag_core.helper.prepare_pager_for_entries')
|
||||||
->prepare($pagerAdapter, $page);
|
->prepare($pagerAdapter, $page);
|
||||||
|
|
|
@ -125,9 +125,7 @@ class EntryRepository extends EntityRepository
|
||||||
{
|
{
|
||||||
return $this
|
return $this
|
||||||
->getBuilderByUser($userId)
|
->getBuilderByUser($userId)
|
||||||
->leftJoin('e.tags', 't')
|
->andWhere('size(e.tags) = 0');
|
||||||
->groupBy('e.id')
|
|
||||||
->having('count(t.id) = 0');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue