Topic: Anybody looked at 2011 dates for Advanced Search yet?

The Advanced Search function only allows years up to 2010.  I think a change to

includes\qcodo\_core\qform\QDateTimePicker.class.php

to set:

protected $intMaximumYear = 2011;

will fix this.

I tried searching the code base (my first try, so I probably missed it) before mentioning this.  Maybe set this value to like 2030 so you don't have to fix this every January.

Re: Anybody looked at 2011 dates for Advanced Search yet?

See this thread.

The file at /includes/qcodo/_core/qform/QDateTimePicker.class.php is a Qcodo core file, and is not meant to be modified (it would be replaced any time we upgrade to a new version of Qcodo, which we recently did). Rather, when instantiating a QDateTimePicker anywhere in Tracmor, we now set the MaximumYear appropriately (see the commits referenced in the link above).

Justin Sinclair

Got Inventory? Get Tracmor.