[Koha-bugs] [Bug 28454] Add Koha version number to database schema link in reports

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 11 21:33:03 CEST 2021


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #121491|0                           |1
        is obsolete|                            |

--- Comment #5 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 123801
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=123801&action=edit
Bug 28454: Add Koha version number to database schema link in reports

This patch modifies the guided reports script, adding a verion check so
that a version string can be added to the database schema link if the
user is using a non-development version.

To test, apply the patch and go to reports -> Saved reports.

- In the left-hand sidebar menu you should see a "Koha database schema"
  link. Depending on which version you're using, it may or may not have
  a version string included, e.g. "http://schema.koha-community.org/20_05"
  - In master, there is no version string added because there is no
    schema available for development versions.
  - If you apply the patch on a previously released version, e.g.
    'tags/v20.11.08' you will see a link directly to that schema page.

Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

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


More information about the Koha-bugs mailing list