Problem/Motivation
#2980649: Add a limit to the query executed for the autocomplete results added a limit
key to the matcher settings, but it did not update the shipped default configuration. This leads to unnecessary Git diffs when copy-pasting the default configuration or when using Config Overlay.
Also, the Linkit result thumbnail is missing the crop anchor for the Scale and Crop image effect.
Steps to reproduce
After freshly installing Linkit, export the configuration and compare the exported linkit.linkit_profile.default
configuration with the shipped one. Notice that they differ (not only in the added UUID and default config hash, but also) in that the exported one has the limit set, and the shipped one does not.
Similarly for the image.style.linkit_result_thumbnail
configuration.
Proposed resolution
Add the limit and the anchor to the default configuration.
Remaining tasks
User interface changes
None.
API changes
None.
Data model changes
None.
Issue fork linkit-3240789
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
tstoecklerComment #4
tstoecklerComment #5
tstoecklerFound a similar issue with the image style, so slightly expanding the scope here.
Comment #6
Sutharsan CreditAttribution: Sutharsan at LimoenGroen commentedMR looks good. I agree with the way the problem is fixed. Checked the provided default values.
Comment #7
johnwebdev CreditAttribution: johnwebdev commentedNot sure why the commit isn't visible here, but: https://git.drupalcode.org/project/linkit/-/commit/a62e07cd9a407953fe267...
Thanks!
Comment #8
johnwebdev CreditAttribution: johnwebdev commented