plepe / OpenStreetBrowser

An application to ‘browse’ the information in the displayed part of the map. Similar to common Wikis and also the main page of http://www.openstreetmap.org the website shows a narrow menu on the left side, most of the page is used for the display of the map. In contrast to most Wikis the menu is not static, but rather the content of the map can be browsed in categories. For the map a special style has been developed (sorry guys, I neither like the default Mapnik nor Osmarender styles), and special overlays are displayed to support the current browsed categories. When you click on an object (either from the list or directly on the map) informations on this object are displayed.
http://www.openstreetbrowser.org
GNU General Public License v3.0
86 stars 20 forks source link

Title filter not working, when sole filter #100

Closed plepe closed 5 years ago

plepe commented 5 years ago

@plepe, let me ask you a question: I see the "Title" filter (the filter you type in) is not working in every category even if it's there (e.g. &categories=leisure). This filter is working only in the categories which have both the "Type" filter and "Title" filter. Are you aware of it?

Originally posted by @IgorEliezer in https://github.com/plepe/OpenStreetBrowser/issues/99#issuecomment-476399189

plepe commented 5 years ago

No, I was not aware of this problem. Thanks for reporting.

In fact, the filter was working, but it did not react on 'keypress', but on 'blur' (when you changed focus to another element on the page, it would apply the filter).