orderBy
This commit is contained in:
parent
67c54e3273
commit
c9c14f052b
8 changed files with 18 additions and 6 deletions
|
|
@ -142,7 +142,7 @@ export class BloodGroupController extends Controller {
|
|||
async listBloodGroup() {
|
||||
const bloodGroup = await this.bloodGroupRepository.find({
|
||||
select: ["id", "name", "createdAt", "lastUpdatedAt", "createdFullName", "lastUpdateFullName"],
|
||||
order: { createdAt: "ASC" },
|
||||
order: { name: "ASC" },
|
||||
});
|
||||
|
||||
// if (!bloodGroup) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue