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
|
{ // prep the view fields
|
||||||
if (disp==FindView.FD_COMMUNITIES)
|
if (disp==FindView.FD_COMMUNITIES)
|
||||||
{ // set the category (which also sets up the subcategory list and contained communities)
|
{ // set the category (which also sets up the subcategory list and contained communities)
|
||||||
view.category = rinput.user.getCategoryDescriptor(catid);
|
if (rinput.engine.useCategories())
|
||||||
if (view.category.categoryID>=0)
|
{ // only do this if we're using categories
|
||||||
{ // fill in the communities that are in this category
|
view.category = rinput.user.getCategoryDescriptor(catid);
|
||||||
view.results = rinput.user.getCommunitiesInCategory(view.category,view.offset,max_results);
|
if (view.category.categoryID>=0)
|
||||||
view.findCount = rinput.user.getNumCommunitiesInCategory(view.category);
|
{ // 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
|
} // end if
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user