Loading...
 

Bug_Tracker_Search

This profile is an addition to the existing Bug_Tracker profile intended to demonstrate unified search and specifically the custom_search plugin.

These pages will be created:

Dependency

YAML
dependencies:
 - $profiles.tiki.org:Bug_Tracker:bug_tracker


Preferences

YAML
preferences:
 feature_search: y
 wikiplugin_list: y
 wikiplugin_customsearch: y
 unified_trackerfield_keys: permName


Add a form to search the bug reports


This will include: Profile_Bug_tracker_search_page and Profile_Bug_tracker_search_page_tpl

YAML
instructions: Bug_Tracker_Search
preferences:
  enable: [ feature_wiki ]
objects:
  -
    type: wiki_page
    ref:  bug_tracker_search_page
    data:
      name: Bug_Tracker_Search
      description: Demonstration of plugin custom_search
      lang: en
      content: wikicontent:Profile_Bug_tracker_search_page
  -
    type: wiki_page
    ref:  bug_tracker_search_page_tpl
    data:
      name: Bug_Tracker_Search_Tpl
      description: Template form for custom_search
      lang: en
      content: wikicontent:Profile_Bug_tracker_search_page_tpl



Some more sample data


YAML
objects:
 -
  type: tracker_item
  ref: bug_004
  data:
   tracker: $Bug_Tracker:bug_tracker
   status: open
   values:
    - [ $Bug_Tracker:bug_tracker_summary, Lorem ipsum bug ]
    - [ $Bug_Tracker:bug_tracker_assignee, admin ]
    - [ $Bug_Tracker:bug_tracker_priority, 3 ]
    - [ $Bug_Tracker:bug_tracker_description, "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat." ]
 -
  type: tracker_item
  ref: bug_005
  data:
   tracker: $Bug_Tracker:bug_tracker
   status: open
   values:
    - [ $Bug_Tracker:bug_tracker_summary, Duis aute irure dolor ]
    - [ $Bug_Tracker:bug_tracker_assignee, admin ]
    - [ $Bug_Tracker:bug_tracker_priority, 3 ]
    - [ $Bug_Tracker:bug_tracker_description, "Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.." ]
 -
  type: tracker_item
  ref: bug_006
  data:
   tracker: $Bug_Tracker:bug_tracker
   status: open
   values:
    - [ $Bug_Tracker:bug_tracker_summary, Bacon ipsum ]
    - [ $Bug_Tracker:bug_tracker_assignee, admin ]
    - [ $Bug_Tracker:bug_tracker_priority, 2 ]
    - [ $Bug_Tracker:bug_tracker_description, "Bacon ipsum dolor amet rump beef ribs shankle, bacon andouille filet mignon venison beef corned beef pork chop. Hamburger sausage tri-tip, pancetta turducken leberkas picanha pork tenderloin kielbasa cow landjaeger biltong. Tongue fatback shank, prosciutto shoulder venison pork loin bresaola." ]
 -
  type: tracker_item
  ref: bug_007
  data:
   tracker: $Bug_Tracker:bug_tracker
   status: open
   values:
    - [ $Bug_Tracker:bug_tracker_summary, T-bone porchetta chicken ]
    - [ $Bug_Tracker:bug_tracker_assignee, admin ]
    - [ $Bug_Tracker:bug_tracker_priority, 1 ]
    - [ $Bug_Tracker:bug_tracker_description, "T-bone porchetta chicken, shankle pork chop pork belly sausage alcatra beef ribs jowl jerky pancetta. Meatloaf doner pastrami, pork tri-tip bacon kielbasa leberkas tongue strip steak short loin. Shankle ham hock swine tri-tip. Meatloaf beef short loin tenderloin shoulder doner alcatra cow prosciutto filet mignon swine rump." ]


Category: 12.x