In order to avoid to manually update manual link for each new version, we can generate the version number from the version contained in the DB.
Created attachment 22884 [details] [review] Bug 11238: Build the version for the manual link Test plan (for 3.15 branch): - Open a help page - Verify the manual link is correct (point to 3.14 manual) - change the version in mysql: update systempreferences set value="3.1600000" where variable="version"; - Verify the manual link now points to the future 3.16 manual.
Created attachment 22888 [details] [review] Bug 11238: Build the version for the manual link Test plan (for 3.15 branch): - Open a help page - Verify the manual link is correct (point to 3.14 manual) - change the version in mysql: update systempreferences set value="3.1600000" where variable="version"; - Verify the manual link now points to the future 3.16 manual. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Work as described. No koha-qa errors Tested on top of Bug 10671 On master (BD version 3.13.xxx) help links point to 3.12 manual Changing version to 3.14/15 points to 3.14 manual Changing version to 3.16 points to the future :)
Created attachment 23105 [details] [review] Bug 11238: Build the version for the manual link Test plan (for 3.15 branch): - Open a help page - Verify the manual link is correct (point to 3.14 manual) - change the version in mysql: update systempreferences set value="3.1600000" where variable="version"; - Verify the manual link now points to the future 3.16 manual. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Work as described. No koha-qa errors Tested on top of Bug 10671 On master (BD version 3.13.xxx) help links point to 3.12 manual Changing version to 3.14/15 points to 3.14 manual Changing version to 3.16 points to the future :) Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Pushed to master. Thanks, Jonathan!
This patch has been pushed to 3.14.x, will be in 3.14.1