[Koha-bugs] [Bug 35646] Allow using the publication date parts for serial numbering

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 22 19:27:02 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35646

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 160275
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160275&action=edit
Bgg 35646: Allow use of publication date fields in serial numbering pattern

This patch extends the numbering pattern field to accept subsitituations for:
{Year} {Day} {DayName} {Month} {MonthName}

These fields are based on the publication date for the serial issue.

To test:
0 - Apply patch
1 - Setup a enw numbering pattern
    Serials->Manage numbering patterns + New numbering pattern
2 - In the numbering formula enter: {X} {Y} {Z} {Year} {Month} {Day}
{MonthName} {DayName}
3 - Populate X/Y/Z in the table as you wish, these should be unaffected by
patch
4 - Set a Frequency /  First issue plublication date / Subscription length
5 - Click 'Test pattern'
6 - Confirm the dates in the Number match the publication date values
7 - Try with different frequencies to confirm they match
8 - Save the pattern
9 - Create a new subscription and use the new pattern
10 - Confirm it works as expected

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list