Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Range Filters: Decimal field Not Working

Range Filters: Decimal field Not Working 09 Dec 2012 12:14 #5944

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi @admin and fellow cooks,

I'm currently working in the same project as before (jstore_social) with jQuery as JS and I've been experiencing an issue where using a decimal field in a range filter does not filter the results in the grid.

@admin, I know that filters are something that you are working on in V2.0 so I just wondered:
  1. if this was something that was on your list of things to fix?
  2. Also, any news on when the updated filters will be available?
  3. If a fix is not going to be soon, might you be able to suggest how I could implement the fix manually for the time being please?
One last thing that is more a suggestion I suppose: I think it would be a really cool feature of range filters in particular to implement the validation of the field on which they are filtering as this would prevent the user from entering values that are out of the scope of data stored in that field. For instance, say you have a field that only accepts integers from 1 - 10, if a user were to try to filter on that field and enter 100 then throw the error message and prevent submit.

Many thanks,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
Last Edit: 09 Dec 2012 13:00 by JoomGuy.
The administrator has disabled public write access.

Re: Range Filters: Decimal field Not Working 10 Dec 2012 09:40 #5952

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Just a note to say that I've checked this behaviour with a decimal value stored in a string field (varchar) and the behaviour works as you'd expect. Strange that it doesn't work on the decimal field type.

Thanks,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: Range Filters: Decimal field Not Working 10 Dec 2012 09:49 #5953

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Try to remove and add your filter again.

If your filter is more than 8 months, there have been some changes here. But since a lng it hasn't changed.
It is really strange.

OR, another problem is when you have deleted the field in table and recreated it. It can be a problem here.
Can you try it please ?
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Range Filters: Decimal field Not Working 10 Dec 2012 09:57 #5955

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi @admin,

I'm sure this was a new filter that I'd recreated since getting the decimal stuff working but, just in case it wasn't, I just removed the filter, re-added it with the field and tested.

Unfortunately it doesn't fix the issue.

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: Range Filters: Decimal field Not Working 10 Dec 2012 11:27 #5964

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi @admin,

Just a follow-up on this issue with filters.

I've done some more testing both locally and in the sandbox and at present, the only filter types that appear to work correctly are FK Combos & Search.

Range filtering doesn't seem to work at all at the moment as per other new ticket RE: Datetime fields by @zvone.

I cannot get a combo filter to function for Boolean (Regular) nor Boolean (Default Wizard).

Please could you advise?

Thanks,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: Range Filters: Decimal field Not Working 10 Dec 2012 12:03 #5978

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
OK,

Thanks @admin, this is now working!!!

Just wondered regarding my earlier questions;audibleid wrote:
I think it would be a really cool feature of range filters in particular to implement the validation of the field on which they are filtering as this would prevent the user from entering values that are out of the scope of data stored in that field. For instance, say you have a field that only accepts integers from 1 - 10, if a user were to try to filter on that field and enter 100 then throw the error message and prevent submit.
What do you think? Is this possible?

Also, I just wondered what the estimated arrival of 2.0 is?

Thanks,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: Range Filters: Decimal field Not Working 10 Dec 2012 12:18 #5985

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
I cannot say for the moment.

I want to work a lot during Christmas holidays, and try to release it for 1st of January, but, you know I am adding more stuff in everyday.

The major feature about 2.0, is for me :
Being able to work on the individual features, without creating collateral damages.
A kind of pluggables system for every features (filters, tasks, field types, rules, etc...)

And for you, stability, good standard ... and Joomla 3.0 support, in a cross compatibility mode.
Means that your component will be supported on all alive versions.

But don't worry, this is in a really good way.
I hope the hollidays more quiet with the support.
(Don't worry, it is a pleasure to speak and help you guys)

Keep on touch, and the best way to get this realease, is to continue your signalements about issues.

After 2.0 release :
- New website
- New features
- Docs and tutorials
- JDom in Joomla core (will propose it, but I must fork, and interess me to that stuff)

By the way, I have a lot of stuff to propose in the core...
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: JoomGuy
Time to create page: 0.077 seconds

Get Started