Title: Search function issues
Last modified: August 21, 2016

---

# Search function issues

 *  Resolved [CarolWP](https://wordpress.org/support/users/carolwp/)
 * (@carolwp)
 * [13 years ago](https://wordpress.org/support/topic/search-function-issues-1/)
 * There seems to be something odd about the search function on links library. I
   have a link called “Notice 2004-79.” If I search for Notice 2004-79, I get every
   link that has “notice” in it, not the specific one I am searching for. If I search
   for 2004-79, I get nothing at all.
 * Given that my site deals with tax law, there are a lot of links with numbers 
   in their titles. Is there some way to fix this?
 * [http://wordpress.org/extend/plugins/link-library/](http://wordpress.org/extend/plugins/link-library/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [13 years ago](https://wordpress.org/support/topic/search-function-issues-1/#post-3810099)
 * Hi Carol,
 * I will not be able to get to your question until next week as I am leaving for
   a work trip tomorrow until Sunday.
 * I am planning a re-write of the search in Link Library over the summer, so this
   might only be something that will be addressed once I tackle that project.
 * Yannick
 *  [interglobalmedia](https://wordpress.org/support/users/interglobalmedia/)
 * (@interglobalmedia)
 * [13 years ago](https://wordpress.org/support/topic/search-function-issues-1/#post-3810181)
 * Yannick:
 * Is it possible to create two pages with two different sets of link libraries (
   2 libraries)?
 * Looking forward to hearing about this after you get back from your trip. Thanks!
 * Maria
 *  [yezzz](https://wordpress.org/support/users/yezzz/)
 * (@yezzz)
 * [13 years ago](https://wordpress.org/support/topic/search-function-issues-1/#post-3810198)
 * Hi Yannick,
 * Fantastic plugin, though the search functionality is indeed a bit limited. Here’s
   some feature suggestions:
    1. different label for the button and the default 
   input value 2. ability to turn off cats/cats descriptions for search result only
   3. filter out duplicate results (occurs when a link is in multiple cats) 4. show
   searchresults from certain cats only (option to use ID’s similar to “categories
   to be displayed” in the general settings) 5. multiple input boxes (or dropdownlists)
   with a boolean operator between them, allowing a user to find a link that is 
   in cat x AND cat y. Or when already displaying cat x, allow a user to filter 
   on cat y or another search term.
 * I’m using link library with many links and many are in multiple cats. Problem
   was duplicate search results and cats/cats description being shown. I noticed
   that the search results are filtered by the “Categories to be displayed”, yet
   doesn’t prevent links from being displayed when clicking a category link (not
   sure if that’s a feature or a bug).
 * So, what I did was create a category for search results, put its ID in “Categories
   to be displayed” to make it a search filter and added that category to all links,
   thus showing all results as usual, but without duplicates. And with the option
   to display a custom “search results” description. To display all category links
   on the page I’m using the custom cats shortcode.
 * I’m telling this because I hope that you will either not remove the search behaviour,
   or add some of the features above.
 * Thanks!
 *  [jircas](https://wordpress.org/support/users/leifang/)
 * (@leifang)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/search-function-issues-1/#post-3810227)
 * CarolWP:
 * you can modify the file link-library.php, find the line 875 (version 3.5.1) and
   comment on the line
    if (ctype_alpha($searchterm) == true)
 * the reason you cannot search number is the function ctype_alphta(), which only
   limits search on alphabet.
 * hope the plugin author can fix this problem, because changing code is not good
   enough. when you update this plugin, everything will be gone.
 *  [jczafra](https://wordpress.org/support/users/jczafra/)
 * (@jczafra)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/search-function-issues-1/#post-3810229)
 * Just What I was looking for. Thank you very much jircas
 *  [jczafra](https://wordpress.org/support/users/jczafra/)
 * (@jczafra)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/search-function-issues-1/#post-3810230)
 * I hope Yannick can fix it to support this great plugin.
 * cheers
 *  Thread Starter [CarolWP](https://wordpress.org/support/users/carolwp/)
 * (@carolwp)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/search-function-issues-1/#post-3810231)
 * Thanks, jircas! That’s got the problem fixed for now. And I’m hoping that he 
   will have it fixed permanently the next time he updates.
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/search-function-issues-1/#post-3810238)
 * I have addressed this problem in the latest version of the plugin. The alpha 
   check had been done as an overzealous way to avoid SQL injection queries.
 *  Thread Starter [CarolWP](https://wordpress.org/support/users/carolwp/)
 * (@carolwp)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/search-function-issues-1/#post-3810239)
 * Thanks, Yannick! I’m sure the visitors to my site will appreciate the change.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Search function issues’ is closed to new replies.

 * ![](https://ps.w.org/link-library/assets/icon-256x256.jpg?rev=971117)
 * [Link Library](https://wordpress.org/plugins/link-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/link-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/link-library/)
 * [Active Topics](https://wordpress.org/support/plugin/link-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/link-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/link-library/reviews/)

 * 9 replies
 * 6 participants
 * Last reply from: [CarolWP](https://wordpress.org/support/users/carolwp/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/search-function-issues-1/#post-3810239)
 * Status: resolved