Details des Tickets

Beschreibung,Kommentare und Anhänge

merge request id 196
TitelLL-394: Add shorten_ou helper method
BeschreibungDie neue Funktion heißt `shorten_ou` Wie die Funktion funktioniert zeigt sich am besten in dem Test: ```php $this->assertSame('Level 1 | ... | Level 4', shorten_ou($this->level4, 1, 1)); $this->assertSame('Level 1 | Level 2b | ... | Level 4', shorten_ou($this->level4, 2, 1)); $this->assertSame('Level 1 | ... | Level 3 | Level 4', shorten_ou($this->level4, 1, 2)); $this->assertSame('Level 1 | Level 2b | Level 3 | Level 4', shorten_ou($this->level4, 1, 10)); $this->assertSame('Level 1 | Level 2b | Level 3 | Level 4', shorten_ou($this->level4, 10, 10)); $this->assertSame('Level 1 | Level 2b | Level 3 | Level 4', shorten_ou($this->level4, 10, 0)); $this->assertSame('Level 1 | Level 2b | Level 3 | Level 4', shorten_ou($this->level4, 0, 10)); ```
Statusmerged
Created at 2020-06-09T14:24:53.162Z
Updated at 2020-06-12T13:20:50.857Z
Source branchfeature/LL-394
Target branchdevelop
AuthorMarcel Pociot
AssigneeSascha Immig

Discussion notes

merged Sascha Immig 2020-06-12T13:20:50.913Z

Merge Commits

Title Id Author Created at Message
Add shorten_ou helper method 8b74b866a0083c7fc8d6ad16c34d22c110d70a07 Marcel Pociot 2020-06-09T14:22:23.000Z Add shorten_ou helper method