The limit in 10.4.9
is already set to three characters.
As mentioned, in current versions of Connections the minimum was set to one.
To make the exact change, you need to edit the
../wp-content/plugins/includes/Request/Search.php
file.
Edit line 43
. Change the 3
to a 1
.
Edit the
../wp-content/plugins/includes/class.retrieve.php
file.
Edit line 2938
.
Change it from:
if ( strlen( $term ) >= 2 && strlen( $term ) <= 3 ) {
to:
if ( strlen( $term ) >= 1 && strlen( $term ) <= 3 ) {
I do not think this will make a difference in your results if the WP database minimum character length is set to 4
. One setting change you can try… navigate to the Connections Settings admin page and click the Search tab. Disable the FULLTEXT
option and save the change. This will allow Connections to only use a basic string match, and results should return when a match is found from the beginning of the string instead of relevancy based (already the default for short word searches). For example, lop should return Lopez since it starts with lop.
I hope this helps!
ps. If the only edit you made to Connections was to display the fallecido.png image. I suspect you made the change only to the Circled template. If that is the case, you should be able to update Connections without issue.
You can use the Download Plugin plugin to download the version of Connections you have installed:
Update Connections and if there is an issue, you can reinstall Connections from the version you downloaded.