[Koha-bugs] [Bug 32932] New: Re-structure Vue router-links to use "name" instead of urls

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 9 17:08:06 CET 2023


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

            Bug ID: 32932
           Summary: Re-structure Vue router-links to use "name" instead of
                    urls
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: ERM
          Assignee: jonathan.druart+koha at gmail.com
          Reporter: matt.blenkinsop at ptfs-europe.com
                CC: jonathan.druart+koha at gmail.com,
                    jonathan.field at ptfs-europe.com,
                    martin.renvoize at ptfs-europe.com,
                    pedro.amorim at ptfs-europe.com

Currently the Vue router is set up with urls assigned to components with no
"name" property. This means that in the components, where a router-link tag is
used the full URL has been written out again. In the event that a url needs to
be changed in the router, the url will also have to be changed in every
component that uses that route. 
By using the "name" property we can avoid this and make maintenance of the
router much more efficient.

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


More information about the Koha-bugs mailing list