Welcome, Guest
Username: Password: Remember me

TOPIC: FK Ajax Filter (2 level) don't work with ORM

FK Ajax Filter (2 level) don't work with ORM 05 Jan 2017 13:54 #14911

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

I am testing my main component in Local / Sandbox and I noticed a wrong behaviour since 3.1 upgrade (ORM).
For example, the 2 levels Ajax Filters has no effect on the result collection.

From Backend Side

P: JBreeding35
T: Pedigrees
L: Gestion des Chiens

Try this to test : (should reduce the result to the 8 puppies of this litter )
Last Edit: 05 Jan 2017 13:57 by liubov.
The administrator has disabled public write access.

FK Ajax Filter (2 level) don't work with ORM 05 Jan 2017 14:07 #14912

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Hum... ok.

By the way, the AJAX fields are soon rewrited,
I needed this ORM feature properly for that.
So the FK fields (combos) and AJAX and more are able to load their datas alone just with the name of the model and few options in case.

If you notice that some fields are irregular, such as enums + FK, or list +Enum, this is all in the process or rewrite.
JDom will disappear from the fields, and and the superclass inheritance will be removed for fields. The fields in the /fields folder will be native inheritance of Joomla fields.
The actual special features given by my code design are not anymore required. (since FormHelper, ValidatorHelper rewriten as well a bit)

Once again, thank you for your debug (K++), because I tried and test this one, but unfortunalely something has been wrong.
I will fix tomorrow I think.
Coding is now a piece of cake
The administrator has disabled public write access.

FK Ajax Filter (2 level) don't work with ORM 05 Jan 2017 15:24 #14915

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
  • Karma: 22
yes, no problem.
My actual component is stable, running on production site with 3.0.10 build. No need to update it, even tested under Joomla37Beta, the Extension works fine !

So, I 've download the 3.1 source build to see if I am able to get the same customized component with ORM.

I will share here my troubles, constraint or facilities.
The administrator has disabled public write access.

FK Ajax Filter (2 level) don't work with ORM 06 Jan 2017 14:26 #14917

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.119 seconds

Get Started