{"id":93,"date":"2010-04-01T16:09:09","date_gmt":"2010-04-02T00:09:09","guid":{"rendered":"http:\/\/www.mantisbt.org\/blog\/?p=90"},"modified":"2015-01-16T09:50:54","modified_gmt":"2015-01-16T14:50:54","slug":"90","status":"publish","type":"post","link":"https:\/\/mantisbt.org\/blog\/archives\/mantisbt\/93","title":{"rendered":"Preselection of next highest value in &quot;Change status to&quot; dropdown"},"content":{"rendered":"<p>The &#8220;Change status to&#8221; dropdown on the view issue page used to select the first option in the list as the default. Choosing the default value in this way isn&#8217;t particularly useful because workflow states usually progress than regress. <!--more-->The dropdown default value used to look something like this:<\/p>\n<figure id=\"attachment_88\" aria-describedby=\"caption-attachment-88\" style=\"width: 408px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/fluffy.mantisbt.org\/blog\/wp-content\/uploads\/2010\/04\/change_status_to_before.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/fluffy.mantisbt.org\/blog\/wp-content\/uploads\/2010\/04\/change_status_to_before.png\" alt=\"Change status to dropdown (before)\" width=\"408\" height=\"41\" \/><\/a><figcaption id=\"caption-attachment-88\" class=\"wp-caption-text\">Change status to dropdown (before)<\/figcaption><\/figure>\n<p>Recently <a title=\"MantisBT bug #11729: Preselect next highest status in bug_change_status\" href=\"http:\/\/www.mantisbt.org\/bugs\/view.php?id=11729\">this behaviour was improved<\/a> so that the default value of the &#8220;Change status to&#8221; dropdown is selected as the next available status beyond the current status. For example, if the current status was &#8220;feedback&#8221; the default value is now &#8220;acknowledged&#8221; instead of &#8220;new&#8221;:<\/p>\n<figure id=\"attachment_89\" aria-describedby=\"caption-attachment-89\" style=\"width: 408px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/fluffy.mantisbt.org\/blog\/wp-content\/uploads\/2010\/04\/change_status_to_after.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/fluffy.mantisbt.org\/blog\/wp-content\/uploads\/2010\/04\/change_status_to_after.png\" alt=\"Change status to dropdown (after)\" width=\"408\" height=\"42\" \/><\/a><figcaption id=\"caption-attachment-89\" class=\"wp-caption-text\">Change status to dropdown (after)<\/figcaption><\/figure>\n<p>If no higher status is selectable then the highest available status will be selected.<\/p>\n<p>You can expect this minor change in the next minor 1.2.1 release of MantisBT.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The &#8220;Change status to&#8221; dropdown on the view issue page used to select the first option in the list as the default. Choosing the default value in this way isn&#8217;t particularly useful because workflow states usually progress than regress.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-93","post","type-post","status-publish","format-standard","hentry","category-mantisbt"],"_links":{"self":[{"href":"https:\/\/mantisbt.org\/blog\/wp-json\/wp\/v2\/posts\/93","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mantisbt.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mantisbt.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mantisbt.org\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/mantisbt.org\/blog\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":1,"href":"https:\/\/mantisbt.org\/blog\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"predecessor-version":[{"id":368,"href":"https:\/\/mantisbt.org\/blog\/wp-json\/wp\/v2\/posts\/93\/revisions\/368"}],"wp:attachment":[{"href":"https:\/\/mantisbt.org\/blog\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mantisbt.org\/blog\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mantisbt.org\/blog\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}