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

HKS3 Tadeusz Sośnierz <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff

--- Comment #2 from HKS3 Tadeusz Sośnierz <[email protected]> ---
Test plan:

1. Install the GeoSearch plugin
https://github.com/HKS3/HKS3GeoSearch/releases/tag/v0.4
2. Either add visibility of 034s  and 034t in framework manually or issue the
following commands in the database:

``` 
update marc_subfield_structure set hidden = 0 where tagfield = '034' and
tagsubfield = 's' and frameworkcode = 'BKS';
update marc_subfield_structure set hidden = 0 where tagfield = '034' and
tagsubfield = 't' and frameworkcode = 'BKS';
```

3. Add some location information using
https://github.com/HKS3/HKS3GeoSearch/blob/main/scripts/insert_geo_data.pl
4. restart_all for a good measure
5. Go to Advanced OPAC search at /cgi-bin/koha/opac-search.pl; a Geographic
Search should be visible at the bottom
6. Position the map at [48, 13] without changing the zoom level; the circle
should just about be covering Munchen on the left and Linz on the right, with
Wien being outside of it on the right
7. Perform the search, no results should come up. The query string should be
along the lines of `lat:48 lng:13 distance:120km`
8. Go back to search, and back to [48, 13]. This time toggle the "Search
visible area" to switch to bounding-box searches.
9. Perform the search. This time, 3 books should come up around the Vienna
area. The query string should be along the lines of
`boundingbox:53.54030739150022,0.9228515625000001,41.77131167976407,25.0927734375`
(the exact numbers may very).
10. Celebrate the great success

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to