diff --git a/Cargo.toml b/Cargo.toml index 9137a5709..780015019 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["Hove ", "Guillaume Pinot "] name = "transit_model" -version = "0.64.0" +version = "0.64.1" license = "AGPL-3.0-only" description = "Transit data management" repository = "https://github.com/hove-io/transit_model" diff --git a/src/objects.rs b/src/objects.rs index 91dc48697..13a3e9a06 100644 --- a/src/objects.rs +++ b/src/objects.rs @@ -1477,7 +1477,8 @@ pub struct ODTReservation { impl ODTReservation { pub fn is_similar(&self, other: &Self) -> bool { - self.url == other.url + self.name == other.name + && self.url == other.url && self.phone == other.phone && self.conditions == other.conditions && self.deeplink == other.deeplink