Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed order listing page, and SmartList bug. Issue #256

  • Loading branch information...
commit 00eb2f11b41d46315ec86a89c5b3090454ea08e2 1 parent 409eab7
@gregmoser gregmoser authored
View
4 com/service/OrderService.cfc
@@ -69,8 +69,8 @@ component extends="BaseService" persistent="false" accessors="true" output="fals
smartList.addSelect("systemCode","id");
smartList.addSelect("type","name");
smartList.addFilter("parentType_systemCode","orderStatusType");
- smartList.addFilter("systemCode","ostNew,ostProcessing,ostOnHold,ostClosed,ostCancelled");
- return smartlist.getPageRecords();
+ smartList.addFilter("systemCode","ostNew,ostProcessing,ostOnHold,ostClosed,ostCanceled");
+ return smartlist.getRecords();
}
public any function searchOrders(struct data={}) {
View
2  com/utility/SmartList.cfc
@@ -538,7 +538,7 @@ component displayname="Smart List" accessors="true" persistent="false" output="f
}
// If no search criteria then we can speed up the process by setting the pageRecords using ormExecuteQuery with offset & maxRecords
} else {
- variables.pageRecords = ormExecuteQuery(getHQL(), getHQLParams(), false, {offset=getPageRecordsStart(), maxresults=getPageRecordsShow(), ignoreCase="true"});
+ variables.pageRecords = ormExecuteQuery(getHQL(), getHQLParams(), false, {offset=getPageRecordsStart()-1, maxresults=getPageRecordsShow(), ignoreCase="true"});
}
}
View
3  version.txt
@@ -1,2 +1 @@
-
-1.0.0.RC-5-g722cbc0
+1.0.0.RC-6
Please sign in to comment.
Something went wrong with that request. Please try again.