Bug #3918

Better support for mdui:Keywords

Added by Peter Schober about 1 month ago. Updated about 1 month ago.

Status:ResolvedStart date:2019-09-10
Priority:LowDue date:
Assignee:Lukas Hämmerle% Done:

0%

Category:-
Target version:-
Affected Version:

Description

A quick test shows that current support for looking up an IDP based on mdui:Keywords in metadata is only partially implemented:

  • E.g. the FH OÖ has multiple mdui:Keywords values but cannot be found when entering "Campus Wels". It can be found with "Campus" and also "Wels" individually, though, and also by "Campus+Wels" -- the latter hinting at a minor implementation deficiency:

The MDUI spec prescribes that spaces within keywords are to be encode (i.e., replaced) with a plus character. So when looking up IDPs from keywords the plus sign in metadata needs to be interpretet as a space character.

I don't have an issue with "Campus+Wels" also mapping to that IDP (though it's unlikely anyone will ever enter this verbatim) but I'd like to find the IDP with "Campus Wels", too.

History

#1 Updated by Lukas Hämmerle about 1 month ago

  • Status changed from New to Resolved
  • Assignee set to Lukas Hämmerle

This should be solved with commit:dd45f9f which would replace the + with a space.

#2 Updated by Peter Schober about 1 month ago

Lukas Hämmerle wrote:

This should be solved with commit:dd45f9f which would replace the + with a space.

It was 00927b23 ;) but thanks for the quick fix nonetheless.
I've briefly tested it and it works fine now!

Also available in: Atom PDF