SemanticMediaWiki/SemanticResultFormats

Tree format: Add max depth parameter

开放

#468 创建于 2019年2月19日

 (1 条评论) (0 个反应) (0 位负责人)JavaScript (87 个派生)auto 404
enhancementgood first issue

仓库指标

星标
 (52 个星标)
PR 合并指标
 (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

贡献者指南