Skip to content

Commit

Permalink
endre til_dato -> fra_dato for å også få med samtalereferat i statist…
Browse files Browse the repository at this point in the history
…ikken
  • Loading branch information
erikbosnes committed Dec 17, 2024
1 parent b7e6f0c commit fb119c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ open class IsPublisertDAO(
join veilarbaktivitet.aktivitet a
on mote.aktivitet_id = a.aktivitet_id and mote.versjon = a.versjon
where mote.referat is not null
and a.til_dato < NOW()
and a.fra_dato < NOW() -- Kun se på møter/samtalereferater som ikke er datert frem i tid
and a.gjeldende = 1 -- Bare siste versjon
and a.historisk_dato is null -- Ikke ta med referat i avsluttede perioder
group by mote.referat_publisert
Expand Down

0 comments on commit fb119c3

Please sign in to comment.