1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-26 18:21:02 +00:00

Added a query to parse only non-hashed URL

Fixed #4864
This commit is contained in:
Nicolas Lœuillet 2020-12-18 16:01:13 +01:00
parent ad621f198f
commit 68060f545a
2 changed files with 15 additions and 1 deletions

View file

@ -59,7 +59,7 @@ class GenerateUrlHashesCommand extends ContainerAwareCommand
$em = $this->getContainer()->get('doctrine.orm.entity_manager');
$repo = $this->getDoctrine()->getRepository('WallabagCoreBundle:Entry');
$entries = $repo->findByUser($user->getId());
$entries = $repo->findByEmptyHashedUrlAndUserId($user->getId());
$i = 1;
foreach ($entries as $entry) {