Feature/support search by asset profile id ()

* Add support to search for an asset profile by id

* Update changelog
This commit is contained in:
Thomas Kaul
2023-12-20 19:24:03 +01:00
committed by GitHub
parent aa72d9b730
commit 4d79df90a7
2 changed files with 5 additions and 0 deletions
CHANGELOG.md
apps/api/src/app/admin

@ -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 } }