]> git.immae.eu Git - github/wallabag/wallabag.git/commit - src/Wallabag/AnnotationBundle/Repository/AnnotationRepository.php
Fix hazardous bug with Postgres 1775/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 12 Mar 2016 09:45:14 +0000 (10:45 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 12 Mar 2016 09:45:14 +0000 (10:45 +0100)
commitb95ffda2a105af4c6f4f86aca025a0bf967bc86a
tree864a97443092ed854a61c91b6655a2628f4618fa
parent09d8bb6fa26b881da478df4c7b97620cb7aea0d0
Fix hazardous bug with Postgres

Instead of retrieving a random annotation, sort them to be sure they are all the same no matter the database used
src/Wallabag/AnnotationBundle/Repository/AnnotationRepository.php
src/Wallabag/AnnotationBundle/Tests/Controller/AnnotationControllerTest.php