• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

always searches all forums (jira bug # JF-839)

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Symptom:
If the user attempts to refine his/her search scope to only one specific forum, the results are not reduced. You can verify this bug on http://www.jforum.net/search/filters.page by searching for the term "index". I always get 157 results, regardless of the forum I choose to search within.

Solution:
At the bottom of buildSearchArgs(), in SearchAction.java, paste this over the existing code...

if (this.request.getParameter("search_forum") != null && !"".equals(this.request.getParameter("search_forum")) ) {
args.setForumId(this.request.getIntParameter("search_forum"));
}

jira bug # JF-839

-Ben
[originally posted on jforum.net by bwfrieds]
 
Look ma! I'm selling my stuff!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic