Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

Commit

Permalink
The simple link mappings will now take precedence over regular expres…
Browse files Browse the repository at this point in the history
…sion link mappings, enforcing greater specificity matching.
  • Loading branch information
Nathan Glasl committed Oct 21, 2015
1 parent 4504574 commit eddfd7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/services/MisdirectionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public function getMapping($URL, $host = null) {

$matches = $matches->sort(array(
'Priority' => 'DESC',
'LinkType' => 'DESC',
'MappedLink' => 'DESC',
'ID' => Config::inst()->get('LinkMapping', 'priority')
));
Expand Down

0 comments on commit eddfd7f

Please sign in to comment.