Merge pull request #10648 from osmandapp/fix_article_nav
Fix travel article navigation
This commit is contained in:
commit
796d790993
1 changed files with 3 additions and 0 deletions
|
@ -404,6 +404,9 @@ public class TravelObfHelper implements TravelHelper {
|
|||
Map<String, WikivoyageSearchResult> headerObjs = new HashMap<>();
|
||||
if (parts != null && parts.length > 0) {
|
||||
headers.addAll(Arrays.asList(parts));
|
||||
if (!Algorithms.isEmpty(article.isParentOf)) {
|
||||
headers.add(title);
|
||||
}
|
||||
}
|
||||
|
||||
for (String header : headers) {
|
||||
|
|
Loading…
Reference in a new issue