and patch up find as well...
This commit is contained in:
parent
c4f8d65cb2
commit
394a1863e0
|
@ -74,11 +74,15 @@ if ("GET"==rinput.verb)
|
|||
{ // prep the view fields
|
||||
if (disp==FindView.FD_COMMUNITIES)
|
||||
{ // set the category (which also sets up the subcategory list and contained communities)
|
||||
view.category = rinput.user.getCategoryDescriptor(catid);
|
||||
if (view.category.categoryID>=0)
|
||||
{ // fill in the communities that are in this category
|
||||
view.results = rinput.user.getCommunitiesInCategory(view.category,view.offset,max_results);
|
||||
view.findCount = rinput.user.getNumCommunitiesInCategory(view.category);
|
||||
if (rinput.engine.useCategories())
|
||||
{ // only do this if we're using categories
|
||||
view.category = rinput.user.getCategoryDescriptor(catid);
|
||||
if (view.category.categoryID>=0)
|
||||
{ // fill in the communities that are in this category
|
||||
view.results = rinput.user.getCommunitiesInCategory(view.category,view.offset,max_results);
|
||||
view.findCount = rinput.user.getNumCommunitiesInCategory(view.category);
|
||||
|
||||
} // end if
|
||||
|
||||
} // end if
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user