Skip to content

Commit

Permalink
Merge pull request #499 from EBISPOT/stable
Browse files Browse the repository at this point in the history
additional fix for issue-483
  • Loading branch information
serjoshua authored Sep 12, 2023
2 parents fd1f20f + 9561a0a commit 88e4fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/ontologies/ontologiesSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export const getClassInstances = createAsyncThunk(
export const getOntologies = createAsyncThunk(
"ontologies_ontologies",
async ({ page, rowsPerPage, search }: any, { rejectWithValue }) => {
if (search.length > 1) search = "*" + search + "*";
if (search.length > 1 && !search.includes(" ")) search = "*" + search + "*";
const path = `api/v2/ontologies?page=${page}&size=${rowsPerPage}${
search ? "&search=" + search : ""
}`;
Expand Down

0 comments on commit 88e4fe2

Please sign in to comment.