Patches: Browse | Submit New | Admin

[#9328] a patch to marc.rb, in order to return publish_year (used by Alexandria)

Date:
2007-03-16 22:51
Priority:
3
Submitted By:
Marco Costantini (laurusnobilis)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
a patch to marc.rb, in order to return publish_year (used by Alexandria)

Detailed description
the marc.rb doesn't return the publish_year of the book. The following code, added in marc.rb , fixes this

        def publish_year
            if value = @values[260]
                if publish_year = value['c']
                    /\d\d\d\d/.match(publish_year)
                end
            end
        end

The program Alexandria would ue and enjoy this fix.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item