diff --git a/onebusaway-webapp/src/main/java/org/onebusaway/webapp/actions/admin/problems/TripProblemReportsAction.java b/onebusaway-webapp/src/main/java/org/onebusaway/webapp/actions/admin/problems/TripProblemReportsAction.java index 7b160eb12..ff29af204 100644 --- a/onebusaway-webapp/src/main/java/org/onebusaway/webapp/actions/admin/problems/TripProblemReportsAction.java +++ b/onebusaway-webapp/src/main/java/org/onebusaway/webapp/actions/admin/problems/TripProblemReportsAction.java @@ -111,7 +111,7 @@ public String edit() { TripBean trip = _model.getTrip(); - if (_model.getVehicleId() != null) { + if (_model.getVehicleId() != null || (_model.getTrip() != null && _model.getServiceDate() > 0)) { VehicleLocationRecordQueryBean query = new VehicleLocationRecordQueryBean(); query.setServiceDate(_model.getServiceDate()); if (trip != null) diff --git a/onebusaway-webapp/src/main/webapp/WEB-INF/content/admin/problems/trip-problem-reports-edit.jspx b/onebusaway-webapp/src/main/webapp/WEB-INF/content/admin/problems/trip-problem-reports-edit.jspx index 4d4d7f1a3..7ba2f0058 100644 --- a/onebusaway-webapp/src/main/webapp/WEB-INF/content/admin/problems/trip-problem-reports-edit.jspx +++ b/onebusaway-webapp/src/main/webapp/WEB-INF/content/admin/problems/trip-problem-reports-edit.jspx @@ -118,7 +118,12 @@