Skip to content

Commit b4ccb50

Browse files
committed
Fix db issue
1 parent 93f28f7 commit b4ccb50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class AppService {
6565
});
6666

6767
const list = await this.connection.query(
68-
`SELECT id, eip, title, author, status, type, category FROM "EIPs" ${condition} order by (substring("eip", '^[0-9]+'))::int LIMIT ${take} OFFSET ${skip}`,
68+
`SELECT id, eip, title, author, status, type, category FROM "EIPs" ${condition} order by eip LIMIT ${take} OFFSET ${skip}`,
6969
);
7070

7171
return {

0 commit comments

Comments
 (0)