Feature/support search by asset profile id (#2765)
* Add support to search for an asset profile by id * Update changelog
This commit is contained in:
parent
aa72d9b730
commit
4d79df90a7
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Added support to search for an asset profile by `id` as an administrator
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Set the select column of the lazy-loaded activities table to stick at the end (experimental)
|
- 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) {
|
if (searchQuery) {
|
||||||
where.OR = [
|
where.OR = [
|
||||||
|
{ id: { mode: 'insensitive', startsWith: searchQuery } },
|
||||||
{ isin: { mode: 'insensitive', startsWith: searchQuery } },
|
{ isin: { mode: 'insensitive', startsWith: searchQuery } },
|
||||||
{ name: { mode: 'insensitive', startsWith: searchQuery } },
|
{ name: { mode: 'insensitive', startsWith: searchQuery } },
|
||||||
{ symbol: { mode: 'insensitive', startsWith: searchQuery } }
|
{ symbol: { mode: 'insensitive', startsWith: searchQuery } }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user