Skip to content

Commit

Permalink
fix: fix global search unintentionally showing research units
Browse files Browse the repository at this point in the history
  • Loading branch information
ewan-escience committed Mar 25, 2024
1 parent 0015079 commit da5a4cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion database/100-create-api-views.sql
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ $$
-- ONLY TOP LEVEL ORGANISATIONS
organisation.parent IS NULL
AND
organisation.slug ILIKE CONCAT('%', query, '%') OR organisation."name" ILIKE CONCAT('%', query, '%')
(organisation.slug ILIKE CONCAT('%', query, '%') OR organisation."name" ILIKE CONCAT('%', query, '%'))
;
$$;

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ version: "3.0"
services:
database:
build: ./database
image: rsd/database:2.2.1
image: rsd/database:2.2.2
ports:
# enable connection from outside (development mode)
- "5432:5432"
Expand Down

0 comments on commit da5a4cc

Please sign in to comment.