[Koha-bugs] [Bug 36151] Update leaflet.js to current version

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 23 09:10:10 CET 2024


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

--- Comment #3 from Thomas Klausner <domm at plix.at> ---
New patch including an update About-page (new version, link to current LICENSE)
is available here:

https://github.com/domm/Koha/commit/dfa518981fd8327e4ec07ad726496267018b140b

Bug 36151: Update leaflet.js

Koha currently comes with leaflet.js 1.0.3 which is quite old (2017).
For GeoSearch (Bug 31652) we need a more current leaflet.js, so this
patch updates leaflet.js to the current version 1.9.4

Test plan:

* Go to staff /cgi-bin/koha/admin/usage_statistics.pl where you see a
  map and can set the location of the library by clicking on the map.
* Apply the patch
* Again, go to staff /cgi-bin/koha/admin/usage_statistics.pl
* Do a complete reload of the page
* It should still work:
  * Display the location as a pin
  * Set a new location

There was no code change necessary besides downloading the current
version of leaflet.js and updating the about-page

Sponsored-by: Geosphere Austria

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


More information about the Koha-bugs mailing list