Prefix / Suffix support

Created on 21 October 2009, about 15 years ago
Updated 29 April 2024, 7 months ago

I was almost starting this project!! LOL
Well, if you already started, i would be glad to contribute to the module doing this piece: suffix and prefix.

It's a great step to have serial numbers, but in many situations we need to put some kind of string before or after the number.

I don't have a CVS account, but will submit patches ASAP, if you agree.

best regards

Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

🇧🇷Brazil pedrorocha

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇦🇺Australia Tim Cox

    This patch was successfully applying to 2.0.0-beta1 but does not apply to 2.0.0-beta2.

  • 🇦🇺Australia Tim Cox

    Basic reroll of patch #13 for 2.0.0-beta2 does not address test issues in #14.

  • 🇳🇬Nigeria chike Nigeria

    Patch #16 applied successfully.

    This patch adds the prefix and suffix in the field display and they are not saved with the serial number. My use case needs the prefix saved with the field because I want the serial number to be searchable in Search API. What is indexed in Search API is the core serial number without the prefix so anyone searching the full serial number will not find the item.

    I finally went with Random Number Field .

  • 🇳🇬Nigeria chike Nigeria

    Sure, patch $13 was failing on 2.0.0-beta2 while patch #16 applied successfully.

  • 🇮🇹Italy kris77

    It's possible to have this patch in 2.0.0-beta3 too?
    Thanks.

Production build 0.71.5 2024