View Issue Details

IDProjectCategoryView StatusLast Update
0021264mantisbtdocumentationpublic2024-04-24 12:01
Reporterj_schultz Assigned Todregad  
PrioritynormalSeverityminorReproducibilitysometimes
Status resolvedResolutionfixed 
Product Version1.3.0 
Fixed in Version2.26.0 
Summary0021264: Option max_dropdown_length is not documented in Admin Guide
Description

Even though there is plenty of space, Mantis shortens product version strings in the dropdown menu where the product string can be selected. In my particular case, "OpenMPT 1.26.02.00 / libopenmpt 0.2-beta17 (upgrade first)" is shortened to "OpenMPT 1.26.02.00 / libopenmpt...first)", which is not very useful.

TagsNo tags attached.
Attached Files
shortened_product_version.png (13,653 bytes)   
shortened_product_version.png (13,653 bytes)   

Relationships

related to 0022812 closedatrol Product Version | Dropdown and Config Field not long enough for code names 

Activities

atrol

atrol

2016-07-12 08:40

developer   ~0053575

You can configure the maximum lenght by setting option $g_max_dropdown_length

Changed as a documentation issue as option max_dropdown_length is not documented in Admin Guide.

/**

  • maximum length of the description in a dropdown menu (for search)
  • set to 0 to disable truncations
  • @global integer $g_max_dropdown_length
    */
    $g_max_dropdown_length = 40;
dregad

dregad

2024-04-24 12:00

developer   ~0068862

This has been fixed in MantisBT master ae4e9d72 (PR https://github.com/mantisbt/mantisbt/pull/1926)

Related Changesets

MantisBT: master ae4e9d72

2023-10-08 06:01

g0tmi1k

Committer: community


Details Diff
Import missing settings from config_defaults_inc.php

Looking at ./config_defaults_inc.php
Then comparing whats in DocBook's XML

Take the comments for the setting and import it.

PR https://github.com/mantisbt/mantisbt/pull/1926
Affected Issues
0021264
mod - docbook/Admin_Guide/en-US/config/api.xml Diff File
mod - docbook/Admin_Guide/en-US/config/cookies.xml Diff File
mod - docbook/Admin_Guide/en-US/config/customfields.xml Diff File
mod - docbook/Admin_Guide/en-US/config/database.xml Diff File
mod - docbook/Admin_Guide/en-US/config/defaults.xml Diff File
mod - docbook/Admin_Guide/en-US/config/display.xml Diff File
mod - docbook/Admin_Guide/en-US/config/email.xml Diff File
mod - docbook/Admin_Guide/en-US/config/filters.xml Diff File
mod - docbook/Admin_Guide/en-US/config/html.xml Diff File
mod - docbook/Admin_Guide/en-US/config/language.xml Diff File
mod - docbook/Admin_Guide/en-US/config/misc.xml Diff File
mod - docbook/Admin_Guide/en-US/config/myview.xml Diff File
mod - docbook/Admin_Guide/en-US/config/path.xml Diff File
mod - docbook/Admin_Guide/en-US/config/relationship.xml Diff File
mod - docbook/Admin_Guide/en-US/config/status.xml Diff File
mod - docbook/Admin_Guide/en-US/config/uploads.xml Diff File
mod - docbook/Admin_Guide/en-US/config/version.xml Diff File
mod - docbook/Admin_Guide/en-US/config/webserver.xml Diff File