SemanticMediaWiki/SemanticResultFormats

Tree format: Add max depth parameter

開放

#468 建立於 2019年2月19日

 (1 則留言) (0 個反應) (0 位負責人)JavaScript (87 個分叉)auto 404
enhancementgood first issue

倉庫指標

星標
 (52 顆星)
PR 合併指標
 (平均合併 8天 22小時) (30 天內合併 10 個 PR)

描述

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

貢獻者指南