? Pending

User tests: Successful: Unsuccessful:

avatar Quy
Quy
17 Jan 2018

This is a partial fix for Issue #19382.

Summary of Changes

In the Archive search form, the month dropdown has leading zero from Jan. to Sep.

<select id="month" name="month" size="1" class="inputbox">
	<option value="">Month</option>
	<option value="01">Jan</option>
	<option value="02">Feb</option>
	<option value="03">Mar</option>
	<option value="04">Apr</option>
	<option value="05">May</option>
	<option value="06">Jun</option>
	<option value="07">Jul</option>
	<option value="08">Aug</option>
	<option value="09">Sep</option>
	<option value="10">Oct</option>
	<option value="11">Nov</option>
	<option value="12">Dec</option>
</select>

This PR removes the leading zero to match the month query string so the chosen month is selected:
http://localhost/joomla-cms-staging/archived-articles/2011?view=archive&month=1

Testing Instructions

Install demo.
Click Archive link.
Click January, 2011.
In the archive form, see the month dropdown.

Expected result

Jan is selected.

Actual result

Month is selected.

Documentation Changes Required

none

avatar Quy Quy - open - 17 Jan 2018
avatar Quy Quy - change - 17 Jan 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Jan 2018
Category Front End com_content
avatar Quy Quy - change - 17 Jan 2018
Title
Retain selected month in archive form
Retain filter month in archive form
avatar Quy Quy - edited - 17 Jan 2018
avatar Quy Quy - change - 17 Jan 2018
Title
Retain filter month in archive form
Retain filtered month in archive form
avatar Quy Quy - edited - 17 Jan 2018
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 17 Jan 2018 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 17 Jan 2018

I have tested this item successfully on a7e550d


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19391.

avatar alikon alikon - test_item - 17 Jan 2018 - Tested successfully
avatar alikon
alikon - comment - 17 Jan 2018

I have tested this item successfully on a7e550d


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19391.

avatar franz-wohlkoenig franz-wohlkoenig - change - 17 Jan 2018
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 17 Jan 2018

Ready to Commit after two successful tests.

avatar mbabker mbabker - change - 18 Jan 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-01-18 23:47:21
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 18 Jan 2018
avatar mbabker mbabker - merge - 18 Jan 2018

Add a Comment

Login with GitHub to post a comment