Skip to content

Commit

Permalink
Remove limit for categories query in display-test-app (#3310)
Browse files Browse the repository at this point in the history
* up  limit for categories

* removed limit altogether
  • Loading branch information
MarcNeely authored Mar 10, 2022
1 parent a022738 commit bc750e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-apps/display-test-app/src/frontend/IdPicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export class CategoryPicker extends IdPicker {
const ecsql = view.is3d() ? selectSpatialCategoryProps : selectDrawingCategoryProps;
const bindings = view.is2d() ? [view.baseModelId] : undefined;
const rows: any[] = [];
for await (const row of view.iModel.query(`${ecsql}`, QueryBinder.from(bindings), { rowFormat: QueryRowFormat.UseJsPropertyNames, limit: { count: 1000 } })) {
for await (const row of view.iModel.query(`${ecsql}`, QueryBinder.from(bindings), { rowFormat: QueryRowFormat.UseJsPropertyNames })) {
rows.push(row);
}
rows.sort((lhs, rhs) => {
Expand Down

0 comments on commit bc750e8

Please sign in to comment.