Skip to content

Commit

Permalink
front: search: ops: display CI but search in UIC
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaswurtz committed Mar 21, 2024
1 parent 36d0e3c commit 12a36f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions front/src/common/Map/Search/MapSearchOperationalPoint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const MapSearchOperationalPoint = ({
: [
'or',
['search', ['name'], debouncedSearchTerm],
['like', ['to_string', ['ci']], `%${debouncedSearchTerm}%`],
['like', ['to_string', ['uic']], `%${debouncedSearchTerm}%`],
];
const payload = {
object: 'operationalpoint',
Expand Down Expand Up @@ -178,7 +178,7 @@ const MapSearchOperationalPoint = ({
{searchResult.name}
<span className="ch">{searchResult.ch}</span>
</span>
<span className="uic">{searchResult.uic}</span>
<span className="uic">{searchResult.ci}</span>
</button>
))}
</div>
Expand Down

0 comments on commit 12a36f2

Please sign in to comment.