Order overview date selection and empty export

  • Posts: 6
  • Thank you received: 0
10 years 4 months ago #162602

-- url of the page with the problem -- : bamict.micpoint.nl/ (admin backend)
-- HikaShop version -- : 2.3.1
-- Joomla version -- : 2.5.22
-- PHP version -- : 5.4.27
-- Browser(s) name and version -- : Chrome 35, Firefox 30, IE11 & Safari 5.1.7
-- Error-message(debug-mod must be tuned on) -- : n/a

The order overview is very buggy. When trying to select a from-date the page refreshes as soon as I use the less than sign to go back one month. This is really annoying when trying to go back a few months or when I try to go back one month and select the right day of that month. This also happens with the to-date date/time picker.

When I select June 1st it will place May 31 in the textbox. I can select June 2 to actually get June 1 in the from-date field. But when I select July 1th (to get June 30) as the to-date it will also set back the from-date by one day. I was eventually able to get all of June by typing 2014-06-03 as from date and 2014-07-01 as to date. But as soon as I select a different status both dates will be set back by one day again. Every time the filter is changed both dates are set back one day.

If I make an Export of All Statuses the file will be empty. It will only export data if you select one or more specific order statuses. Again it will reload the page while you are still doing a multiselect of statuses. These auto-reloads are really annoying.

With another HikaShop installation I have the same issues with auto-reload and the empty export of All Statuses. The date selection works correctly there however. The other installation is located on the same web server with the same Joomla! and HikaShop versions. There might be a conflict with another component on this site I but at this point I can't determine which one that might be.

Could you please rethink/reconsider the way the filters auto-reload and have a look at the export function? And I would greatly appreciate any help with the buggy date selection. If you need any more information from our end please let me know.


Cheers, Wim

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
10 years 4 months ago #162723

Hi,

For the auto reload, it's the calendar system of Joomla which doesn't handle the onchange event properly. It should trigger it only when changing the selection and not just when choosing another month since the selection is not finished.
The only solution to avoid that would be to not auto reload at all and have a button next to the fields but it's kind of lame. Embedding our own calendar system just for that is not an option.
I'm not sure what we should do yet. If you have suggestions on the user experience on that I'm happy to hear them.

Regarding the data that goes one day before, that's because of the timezone handling which is not done for these fields.
The difference between your two websites is that you have configured a timezone for one and not for the other or something like that.
That will be fixed for next version of HikaShop to be released soon (in a week or so).
And the export without selection will also be fixed for next version.

The following user(s) said Thank You: DenisLeemkuil

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
10 years 4 months ago #162971

Hi Nicolas, thanks for the quick reply. The fixes you mentioned are great news. You were right about the time zone. On the troublesome website the timezone in Global Configuration -> Server was set to UTC. I changed it to the correct timezone and the date selection works fine now.

As for auto-reloading I would prefer a button to manually apply the filter. There's a button to apply the free text filter as well, no harm done. In the current version I can open the calendar component to select the from-date and go back one month...wait for the reload...then select the desired day of that month...wait...select the to-date...wait...select a payment method...wait...select one status...wait...select a second status...wait...select a third status...wait. That's a lot of unnecessary waiting for half a filter to be applied. Since my colleageus will be making several exports every month that gets annoying fast.

Either way, thanks again for your help!

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum