SemanticMediaWiki/SemanticResultFormats

Tree format: Add max depth parameter

オープン

#468 opened on 2019/02/19

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (87 件のフォーク)auto 404
enhancementgood first issue

Repository metrics

Stars
 (52 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Setup

  • SMW version: 3.0.1
  • SRF version: 3.0.0

Issue

The tree format currently does not provide a way to limit the queried depth.

For example if format=tree gives the following output:

  • foo
    • bar
      • baz
        • buz

Setting max depth=3 would only return:

  • foo
    • bar
      • baz

コントリビューターガイド