jan-vince / smallrecords

OctoberCMS plugin to store and manage records and lists
MIT License
30 stars 11 forks source link

How do I remove minimum 3 char from slug? #51

Closed SalocinDotTEN closed 5 years ago

SalocinDotTEN commented 5 years ago

Record slugs cannot accept less than 3 characters. How do I get around this?

zlobec commented 5 years ago

Edit the https://github.com/jan-vince/smallrecords/blob/59794c8b21d76b3941a57349cd7124a7dc0d61bf/models/Record.php#L46

jan-vince commented 5 years ago

Hi @SalocinDotTEN and @zlobec ,

this is probably not necessary so I have changed this to accept slugs from one letter (for all models).

Thanks for this and sorry for late answer!