Browse Source
Feature/support search by asset profile id (#2765)
* Add support to search for an asset profile by id
* Update changelog
pull/2769/head
Thomas Kaul
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
0 deletions
-
CHANGELOG.md
-
apps/api/src/app/admin/admin.service.ts
|
|
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
## Unreleased |
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
|
|
- Added support to search for an asset profile by `id` as an administrator |
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
|
|
- Set the select column of the lazy-loaded activities table to stick at the end (experimental) |
|
|
|
|
|
@ -176,6 +176,7 @@ export class AdminService { |
|
|
|
|
|
|
|
if (searchQuery) { |
|
|
|
where.OR = [ |
|
|
|
{ id: { mode: 'insensitive', startsWith: searchQuery } }, |
|
|
|
{ isin: { mode: 'insensitive', startsWith: searchQuery } }, |
|
|
|
{ name: { mode: 'insensitive', startsWith: searchQuery } }, |
|
|
|
{ symbol: { mode: 'insensitive', startsWith: searchQuery } } |
|
|
|