Welcome, Guest
Username: Password: Remember me

TOPIC: Anderstand Filter process

Anderstand Filter process 18 Jun 2017 13:14 #15219

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 267
  • Thank you received: 32
  • Karma: 22
Hi Admin,

I am looking for the code/process that handle and apply the "default.filters" define in the models/form/ *.xml
I 've added default="1" to filter the default Race id=1 and that works fine :) to display this filtered collection ...
<fieldset name="default.filters" addfieldpath="/administrator/components/com_jbreeding/models/fields">
	<field name="filter_id_race"
		listKey="id"
		labelKey="value"
		type="ckcombo"
                default="1"
		submit="true"
		nullLabel="JBREEDING_FILTER_NULL_RACES"
		class="span-2 element-filter"
		label="JBREEDING_JSEARCH_RACES"
		ui="chosen"/>

I just want to know where is the function responsible of this xml reading ?

Thanks,
Marc
Last Edit: 18 Jun 2017 13:17 by liubov.
The administrator has disabled public write access.

Anderstand Filter process 18 Jun 2017 13:35 #15220

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 267
  • Thank you received: 32
  • Karma: 22
posted too fast !

I've found the function :
public function getForm($instance = 'default.filters', $loadData = true, $control = null)
The administrator has disabled public write access.
Time to create page: 0.064 seconds

Get Started