Skip to content

Commit

Permalink
fix crossing summary previous view
Browse files Browse the repository at this point in the history
  • Loading branch information
smnorris committed Jan 8, 2024
1 parent 7b22f7c commit bf80608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/views/wsg_crossing_summary.sql
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ select
from bcfishpass.wsg_crossing_summary s
inner join bcfishpass.log l
on s.model_run_id = l.model_run_id
where l.model_run_id = (select model_run_id from bcfishpass.log order by model_run_id desc limit 1)
where l.model_run_id = (select model_run_id from bcfishpass.log order by model_run_id desc offset 1 limit 1)
order by watershed_group_code;

drop view if exists bcfishpass.wsg_crossing_summary_diff;
Expand Down

0 comments on commit bf80608

Please sign in to comment.