sort cached_tags before saving
This commit is contained in:
parent
734c9a2e59
commit
671dccc07c
@ -313,6 +313,7 @@ trait PostTagMethods
|
||||
// $this->tags = implode(' ', array_unique(TagImplication::with_implied(TagAlias::to_aliased($this->new_tags))));
|
||||
$this->new_tags = TagAlias::to_aliased($this->new_tags);
|
||||
$this->new_tags = array_unique(TagImplication::with_implied($this->new_tags));
|
||||
sort($this->new_tags);
|
||||
// $this->tags = implode(' ', $this->tags());
|
||||
|
||||
# TODO: be more selective in deleting from the join table
|
||||
|
Reference in New Issue
Block a user