Skip to content

Commit

Permalink
LPS-12624 Rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio González authored and brianchandotcom committed Nov 11, 2011
1 parent 42f03e8 commit 4ac580d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
4 changes: 0 additions & 4 deletions portal-web/docroot/html/portlet/asset_publisher/init.jsp
Expand Up @@ -115,8 +115,6 @@ long assetVocabularyId = GetterUtil.getLong(preferences.getValue("assetVocabular
long assetCategoryId = ParamUtil.getLong(request, "categoryId");
long filterCategoryId = ParamUtil.getLong(request, "filterCategoryId");
String assetCategoryTitle = null;
String assetVocabularyTitle = null;
Expand All @@ -140,8 +138,6 @@ if (assetCategoryId > 0) {
String assetTagName = ParamUtil.getString(request, "tag");
String filterTagName = ParamUtil.getString(request, "filterTagName");
if (Validator.isNotNull(assetTagName)) {
allAssetTagNames = new String[] {assetTagName};
Expand Down
15 changes: 1 addition & 14 deletions portal-web/docroot/html/portlet/asset_publisher/view.jsp
Expand Up @@ -102,20 +102,7 @@ Group group = themeDisplay.getScopeGroup();
<%
PortletURL portletURL = renderResponse.createRenderURL();
SearchContainer searchContainer = null;
if (((assetCategoryId > 0) && (assetCategoryId != filterCategoryId)) || (Validator.isNotNull(assetTagName) && !assetTagName.equals(filterTagName))){
filterCategoryId = assetCategoryId;
filterTagName = assetTagName;
searchContainer = new SearchContainer(renderRequest, null, null, SearchContainer.DEFAULT_CUR_PARAM, 1, delta, portletURL, null, null);
}
else {
searchContainer = new SearchContainer(renderRequest, null, null, SearchContainer.DEFAULT_CUR_PARAM, delta, portletURL, null, null);
}
portletURL.setParameter("filterCategoryId", String.valueOf(filterCategoryId));
portletURL.setParameter("filterTagName", filterTagName);
SearchContainer searchContainer = new SearchContainer(renderRequest, null, null, SearchContainer.DEFAULT_CUR_PARAM, delta, portletURL, null, null);
if (!paginationType.equals("none")) {
searchContainer.setDelta(delta);
Expand Down

0 comments on commit 4ac580d

Please sign in to comment.