diff --git a/assets/javascripts/discourse/components/locations-map.js b/assets/javascripts/discourse/components/locations-map.js index f7194828..cf284774 100644 --- a/assets/javascripts/discourse/components/locations-map.js +++ b/assets/javascripts/discourse/components/locations-map.js @@ -264,7 +264,10 @@ export default class LocationMapComponent extends Component { } if ( this.searchFilterType === "name" && - !(user.name && user.name.toLowerCase().indexOf(this.searchFilter.toLowerCase()) > -1) + !( + user.name && + user.name.toLowerCase().indexOf(this.searchFilter.toLowerCase()) > -1 + ) ) { return false; } diff --git a/plugin.rb b/plugin.rb index 2a933198..3d58d184 100644 --- a/plugin.rb +++ b/plugin.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # name: discourse-locations # about: Tools for handling locations in Discourse -# version: 6.4.1 +# version: 6.4.2 # authors: Angus McLeod, Robert Barrow # contact_emails: development@pavilion.tech # url: https://github.com/angusmcleod/discourse-locations diff --git a/test/javascripts/acceptance/map-to-do.js b/test/javascripts/acceptance/map-to-do.js index dfb50c65..a2d76915 100644 --- a/test/javascripts/acceptance/map-to-do.js +++ b/test/javascripts/acceptance/map-to-do.js @@ -23,7 +23,7 @@ acceptance("Topic Map - Show Correct Population", function (needs) { }); test("Category map includes the right topics", async function (assert) { - await visit("c/general/announcements/24/l/map"); + await visit("/c/general/announcements/24/l/map"); assert.ok( exists(