I have a lot of taxonomypages with nested terms. So I have a lot of same terms (10+)
Now i can't find some of them, besides i cant add the parent in front of the search to limit search results

CommentFileSizeAuthor
#5 linkit-number-of-results.patch5.08 KBgngn

Comments

anon’s picture

I see your problem. Do you have any solution for me to work with?

anon’s picture

After some testing with Linkit 7.x
Including

  • 1000+ nodes
  • 300+ users
  • 600+ terms

I cant really say that Im facing some performens issues so I think we could simply skip the limit of 10.

anon’s picture

Category: bug » feature
robbertnl’s picture

The best option would be including the parent in the search.
e.g. consider these therms:
ParenttermA
-subTerm
ParenttermB
-subTerm

I would like to search for 'ParenttermB subTerm', for getting the last term in my example

gngn’s picture

Status: Active » Needs review
StatusFileSize
new5.08 KB

I had the same problem, so I created a patch to set the number of results.
This is my first drupal patch, so can somebody take a look at it?

I only tested linkit_node (Files plugins/linkit_node/linkit_node.module), but the others (plugins/linkit_file/linkit_file.module, plugins/linkit_taxonomy/linkit_taxonomy.module, plugins/linkit_user/linkit_user.module, plugins/linkit_views/linkit_views.module) should work the same.

greetings, gw

p.s. just noticed that I should also provide a translation for the new text 'Number of results to display in the autocomplete field' ...

anon’s picture

Version: 6.x-1.8 » 6.x-1.x-dev
anon’s picture

Status: Needs review » Fixed

Like I said in #2 it feels like we dont need this limitations at all.

So I deleted all range querys so all matches are included.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.