Skip to content

Commit

Permalink
Merge pull request #182 from conveyal/dev
Browse files Browse the repository at this point in the history
Fix entity add route#route_sort_order to setStatementParameters
  • Loading branch information
Landon Reed authored Jan 7, 2019
2 parents c489af1 + b60a00a commit 4e42c30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/conveyal/gtfs/model/Route.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ public void setStatementParameters(PreparedStatement statement, boolean setDefau
statement.setString(oneBasedIndex++, route_branding_url != null ? route_branding_url.toString() : null);
statement.setString(oneBasedIndex++, route_color);
statement.setString(oneBasedIndex++, route_text_color);
// Editor-specific fields publicly_visible, wheelchair_accessible, and status.
// Editor-specific fields publicly_visible, wheelchair_accessible, route_sort_order, and status.
setIntParameter(statement, oneBasedIndex++, 0);
setIntParameter(statement, oneBasedIndex++, 0);
setIntParameter(statement, oneBasedIndex++, INT_MISSING);
setIntParameter(statement, oneBasedIndex++, 0);
}

Expand Down

0 comments on commit 4e42c30

Please sign in to comment.