Sundsvallskommun / OpenEMap-WebUserInterface

Open eMap user interface for the main map client
GNU Affero General Public License v3.0
4 stars 5 forks source link

Search detaljplan - use internal aktbet #138

Closed anderserla closed 9 years ago

anderserla commented 10 years ago

Search detaljplan on both attributes "PLANNUMMER" and "AKTBET"

ghost commented 10 years ago

ElasticSearch should do this, assuming data has been loaded correctly.

anderserla commented 10 years ago

Great! Make PLANNUMMER the text shown in the dialog box. It would be even better to show the text hit (PLANNUMMER or AKTBET) and the index type (Detaljplan) like this: image

ghost commented 10 years ago

I've changed the hardcoded property to show PLANNUMMER. It would be better to make this configurable but I made this fast change for now since this issue had high priority. Two things for the future that I think should have separate issues:

anderserla commented 10 years ago

Implement those two suggestions directly.

anderserla commented 9 years ago

Search GUI does not show the hits in the correct way. The request and response looks correct, but not the GUI-representation of the hits in release 1.3.0 and 1.3.0-rc.5

Request:https://kartatest.e-tjansteportalen.se/search/es/_search?_dc=1418206452341&q=aln*&page=1&start=0&limit=25

image

Make the fix on master and develop

ghost commented 9 years ago

I cannot reproduce. Works for me running develop branch and /search/es proxied to kartatest.e-tjansteportalen.se

anderserla commented 9 years ago

Works in 1.4.0-rc.2 and later. Closes issue.