Closed (fixed)
Project:
Search API
Version:
8.x-1.31
Component:
Views integration
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2019 at 18:38 UTC
Updated:
8 Feb 2024 at 07:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
drunken monkeyThanks a lot for reporting this problem and already providing a patch!
You’re right, I could reproduce the error, and while this is pretty surely a bug in Views itself, not in our module (it stands to reason that the “Reset” button should not trigger any validation at all), it seems sensible to still fix it right here, as there is hardly a chance this would ever get fixed in Views itself.
Your patch just has one problem, namely that it will trigger a notice/warning if the view doesn’t have a “Reset” button. The attached revision should fix that (and also defend against
#triggering_elementnot being there, just to be on the safe side). Please test/review!Comment #3
drunken monkeyCould you please test and/or review?
Comment #5
drunken monkeyComment #7
rahaf albawab commentedThe issue still appear in version 8. I create a new patch to solve the same issue.