Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 5a942cb

Browse files
committed
BUGR-5853
1 parent 826ea4e commit 5a942cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/com/topcoder/web/studio/controller/request/ViewPastContests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ protected void businessProcessing() throws Exception {
105105
// load up the contests
106106
DataAccess da = new DataAccess(DBMS.TCS_OLTP_DATASOURCE_NAME);
107107
Request r = new Request();
108-
r.setContentHandle("studio_past_contests");
108+
r.setContentHandle("studio_past_contests_multi_sort");
109109
r.setProperty("uid", String.valueOf(userId));
110110

111111
String col = StringUtils.checkNull(getRequest().getParameter(DataAccessConstants.SORT_COLUMN));
@@ -130,7 +130,7 @@ protected void businessProcessing() throws Exception {
130130

131131
String sortCriteria = SortingHelper.getSortingClause(sortPriority, sortDirection);
132132
r.setProperty(SortingHelper.MULTI_SORTING_KEY, sortCriteria);
133-
r.setProperty(DataAccessConstants.SORT_QUERY, "studio_past_contests");
133+
r.setProperty(DataAccessConstants.SORT_QUERY, "studio_past_contests_multi_sort");
134134

135135
SimpleDateFormat df1 = new SimpleDateFormat("dd/MM/yyyy");
136136
SimpleDateFormat df2 = new SimpleDateFormat("yyyy-MM-dd");
@@ -256,7 +256,7 @@ protected void businessProcessing() throws Exception {
256256
r.setProperty("smax", maxSub);
257257
getRequest().setAttribute("maxSub", maxSub);
258258

259-
ResultSetContainer rsc = da.getData(r).get("studio_past_contests");
259+
ResultSetContainer rsc = da.getData(r).get("studio_past_contests_multi_sort");
260260

261261
String pageSize = getRequest().getParameter("pageSize");
262262
if (pageSize == null) {

0 commit comments

Comments
 (0)