Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Filter is now working correct

[FIXED] Filter is now working correct 18 Sep 2012 13:05 #3734

  • dyvel
  • dyvel's Avatar
  • Offline
  • Elite Member
  • Posts: 200
  • Thank you received: 11
  • Karma: 10
I added a filter to my backend component but it doesn't work as expected.



When filter is applied :



Also some of my views, where a filter is applied doesn't show the filter in backend.

Admin: you can look at sandbox.cms25.j-cook.pro/administrator/i...demo5939&view=cities for a live view
Last Edit: 03 Oct 2012 13:40 by admin.
The administrator has disabled public write access.

Re: Filter is now working correct 18 Sep 2012 13:51 #3739

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
Important issue here.
The layout is not defined in the query, and the hidden input 'layout' is not initializated.

I will fix that. It is not easy for me because I volontary removed this 'layout' init for a particular purpose, so I cannot only put it back.

Well, for the moment.
Simple to fix for you.

One solution is to call your page, specifing the layout in the url.

You can also fix it for you :
In the template file, read the form footer. It is a JDom call.
add the 'layout' key with the correct value.
Simple.

Tonight I will correct this.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Filter is now working correct 18 Sep 2012 15:05 #3742

  • dyvel
  • dyvel's Avatar
  • Offline
  • Elite Member
  • Posts: 200
  • Thank you received: 11
  • Karma: 10
I'll wait for your fix tonight then :-)
Thanks for the fast response
The administrator has disabled public write access.

Re: Filter is now working correct 19 Sep 2012 09:06 #3758

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
Fixed.

The form footers are now automatically populated with JDom.

At one exeption for the layout, wich receive a default layout alias when the defaut entry point layout is called and the layout is missing in the url.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: dyvel

Re: Filter is now working correct 19 Sep 2012 09:39 #3760

  • dyvel
  • dyvel's Avatar
  • Offline
  • Elite Member
  • Posts: 200
  • Thank you received: 11
  • Karma: 10
Fixed confirmed and working in my case :-)
Thanks!
The administrator has disabled public write access.
Time to create page: 0.152 seconds

Get Started