Skip to content

Skybrud.Umbraco.BorgerDk v2.2.4

Compare
Choose a tag to compare
@abjerner abjerner released this 18 Jun 09:49

Installation

Changelog

  • Fixed issue with BorgerDkArticleSelection class when it's given an empty model(f641e93)
    The old code would fail as it expected a municipality value which isn't present in an empty model. The code has now been updated to check against this.

  • Search optimizations (see af40b51)
    The GetSearchableText method in the BorgerDkArticleSelection class automatically strips any HTML from the searchable text. But with the old implementation, the inner text of two HTML elements might end up with no separator, which could then lead to unexpected results. The method has now been updated to add a new file after each element that is replaced.

  • Introduced new ArticlesUpdated event for the update background task (see 3419ef3)
    The UpdateArticles method in the BorgerDkMaintenanceController class is responsible for updating articles in the background, so that the articles are up-to-date in Umbraco. The new ArticlesUpdated event is triggered when a set of articles has been updated - this can for instance be used to do something with the pages referring to the updated articles (eg. make sure they are re-index in Examine).