acts-as-taggable-on icon indicating copy to clipboard operation
acts-as-taggable-on copied to clipboard

Tag ordering setting the default ordering

Open pcupueran opened this issue 9 years ago • 3 comments

It allows ordering tags by name or by the taggings_counts. This gives the possibility to order by other criteria than the order of tag creation.

pcupueran avatar Feb 23 '16 11:02 pcupueran

Can it be merged, please?

blackst0ne avatar Feb 03 '17 20:02 blackst0ne

I would like to see this merged also.

jefflyne avatar Jan 25 '19 18:01 jefflyne

I'd also like to see this merged, or something similar. I assumed I'd be able to treat it as a PORO and do this somewhere:

class ActsAsTaggableOn::Tag
  default_scope { order(name: :asc) }
end

kernelsmith avatar Jun 10 '22 00:06 kernelsmith