Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
iNeoO committed Nov 15, 2024
1 parent b38598e commit b524190
Show file tree
Hide file tree
Showing 14 changed files with 1,212 additions and 604 deletions.
2 changes: 1 addition & 1 deletion packages/backend/src/helpers/queryParams.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
if (Array.isArray(value)) {
return `${key} = ANY($${initialParams.length + index + 1})`;
}
return `unaccent(${key}) ILIKE '%' || unaccent($${initialParams.length + index + 1}) || '%'`;
return `unaccent(${key}::text) ILIKE '%' || unaccent($${initialParams.length + index + 1}) || '%'`;
})
.join(" AND ");
return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</template>
<template #cell:statut="{ row }">
<div>
<DemandesSejourDemandeStatusBadge :statut="row.statut" />
<DemandeStatusBadge :statut="row.statut" type="bo" />
</div>
</template>
<template #cell:custom-edit="{ row }">
Expand Down Expand Up @@ -63,7 +63,11 @@
</template>

<script setup>
import { DsfrDataTableV2Wrapper, ValidationModal } from "@vao/shared";
import {
DemandeStatusBadge,
DsfrDataTableV2Wrapper,
ValidationModal,
} from "@vao/shared";
const demandeSejourStore = useDemandeSejourStore();
const userStore = useUserStore();
Expand Down
Loading

0 comments on commit b524190

Please sign in to comment.