Needs review
Project:
Panels
Version:
8.x-4.x-dev
Component:
In-Place Editor (IPE)
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2018 at 11:56 UTC
Updated:
23 Feb 2023 at 22:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
googletorp commentedI have created a super simple patch, which changes null values into an empty string, ensuring the search works. The JavaScript looks to be built in a way, where it would be possible to search for any attribute defined in the JS model.
As search could be searching any attributes, making the default value "no label" seems like a poor option. Also this ensures search never breaks, as we know we that attributes is always a string. For me it also makes a lot of sense that you can't search for models missing the attribute being searched for.
Comment #3
MykolaVeryha commentedComment #4
MykolaVeryha commentedPatch for 4.4
Comment #5
MykolaVeryha commenteddfdf
Comment #6
MykolaVeryha commenteddfdf
Comment #7
MykolaVeryha commentedComment #8
berliner commentedPatch in #2 applies properly and looks straight-forward enough to RTBC.
Comment #9
japerryComment #10
hchonov