Closed (fixed)
Project:
Entityqueue
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Oct 2016 at 09:45 UTC
Updated:
3 Jan 2017 at 13:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
amateescu commentedInteresting :) Do you think you can investigate a bit and post a patch for this? It would be nice to have it fixed in alpha5.
Comment #3
josebc commentedon it :)
Comment #4
josebc commentedComment #5
josebc commentedmoved condition to join instead of where
patch attached
Comment #6
rajab natshahRewarded work Jose!
Testing :)
Comment #7
rajab natshahComment #8
amateescu commentedNice work! I tested the patch from #5 and it fixes only the first part of the problem: the queue is no longer required unless the relationship itself is required.
However, the "not in the queue" filter still doesn't behave as expected.
I was able to fix it easily by removing the extra WHERE from
\Drupal\entityqueue\Plugin\views\filter\EntityQueueInQueue.Can you please test this patch and let me know if everything works correctly now?
Comment #9
rajab natshahTesting ......
Comment #10
amateescu commented@RajabNatshah, still testing? :)
Comment #11
rajab natshahTested;
I'm using your last patch now
https://github.com/Vardot/varbase/blob/8.x-4.x/composer.json
https://travis-ci.org/Vardot/varbase/jobs/182250366
Comment #12
rajab natshahThank you for your work on this.
I'm having a week for Automated Testing to add more testing features. at
https://github.com/Vardot/varbase/blob/8.x-4.x/tests/features/varbase/st...
https://github.com/Vardot/varbase/blob/8.x-4.x/tests/features/varbase/st...
https://github.com/Vardot/varbase/blob/8.x-4.x/tests/features/varbase/st...
https://github.com/Vardot/varbase/blob/8.x-4.x/tests/features/varbase/st...
#Automation: Have more automated functional testing gherkin features
I will do this issue after this post.
Comment #14
amateescu commentedCommitted the patch from #8 to 8.x-1.x. Thanks everyone :)
Comment #15
josebc commentedLatest patch will not limit the results to queue, moving parent::query(); above makes it ignore the extra
Comment #16
amateescu commentedThat's being fixed in #2837841: Subqueue views relation: Doubled/redundant entries.