Closed (fixed)
Project:
REST Views
Version:
3.1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Sep 2024 at 12:55 UTC
Updated:
8 May 2026 at 19:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alina.basarabeanu commentedComment #3
alina.basarabeanu commentedComment #6
vselivanovThis is definitely an issue.
But patch #2 works only if you need to remove 1 element.
removeItem() function reassign deltas and for the next elements it won’t work.
The solution should be similar to the jsonapi module from Core:
I tested with the multiple field reference to the paragraphs.
I have 3 paragraphs with 2 unpublished:
Unpublished paragraphs are not shown in the $elements after viewElements() and should be removed from the $items
Created MR and added a patch.
Comment #7
phreaknerd commentedWell done.
#6 fixes the issue.
Comment #8
phreaknerd commentedComment #11
nicxvan commentedThanks everyone!
Comment #13
heddnany chance for a new tagged release with this fix?