Skip to content

Commit

Permalink
⚡️ Gjør henting av oppgaver som ikke er tildelt raskere
Browse files Browse the repository at this point in the history
  • Loading branch information
elitho committed Nov 14, 2024
1 parent 7a5a1d5 commit 44b258c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@ class PgOppgaveDao(
END
AND
CASE
WHEN :tildelt THEN t.saksbehandler_ref IS NOT NULL
WHEN :tildelt = false THEN t.saksbehandler_ref IS NULL
WHEN :tildelt THEN t.oppgave_id_ref IS NOT NULL
WHEN :tildelt = false THEN t.oppgave_id_ref IS NULL
ELSE true
END
ORDER BY $orderBy NULLS LAST
Expand Down

0 comments on commit 44b258c

Please sign in to comment.