View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0023366||mantisbt||other||public||2017-09-16 09:03||2017-09-29 02:46|
|Status||closed||Resolution||no change required|
|Summary||0023366: use custom functions to control report/update category list?|
This question is somewhat related to the following issue:
Is it possible to use custom functions to present to the user a subset of applicable categories on the report or update bug pages? If it is not possible hide any categories to which a project may be linked (this is the question posed in bug 0012465), curious to know if custom functions can be used to accomplish the goal. Could some form of custom_function_default_enum_categories be set up and called to only present a subset of possible categories? Can that function (or a customized version of it) be called in a way that controls the category pull-down list in the report or update bug pages.
I'm envisioning a means of keeping available for viewing and filtering all categories associated with a project in the mantis_category_table. For new and to-be updated issues, though, it would be great to only make available a subset of the category collection going forward (and only a smaller list is shown). Eager to understand if custom functions can provide this functionality.
Please let me know if you would like any clarifications.
Thanks very much,
|Tags||No tags attached.|
Custom functions are not the best way to write such kind of extensions.
This is not a bug or feature request for MantisBT (you are asking for help on how to develop an extension). I am therefore resolving this issue as "no change required".
Please use the forums to get support on customizing and using MantisBT (refer to http://www.mantisbt.org/support.php for links and further details).