Extended data structure with branch field
This commit is contained in:
parent
f0c7c5fae0
commit
2a83cbf9c1
3 changed files with 10 additions and 4 deletions
|
|
@ -62,7 +62,7 @@ class Database {
|
|||
array_push($this->data, $patch);
|
||||
}
|
||||
private function cmp(PatchObject $a, PatchObject $b) : int {
|
||||
return strcasecmp($a->getProduct(), $b->getProduct());
|
||||
return strcasecmp($a->getProduct() . $a->getBranch(), $b->getProduct() . $b->getBranch());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue