Posts: 69
Threads: 10
Joined: Jul 2017
Reputation:
0
Hi again Unk,
I'm not sure if you've been told or noticed yet, but when looking at the page for all recent transactions, nothing loads, at least for me. Looking at the main ledger page and that for all upcoming transactions loads fine. I've tried both on firefox and chrome, if that helps at all.
Posts: 2,258
Threads: 138
Joined: Jul 2016
Reputation:
11
It works fine for me. Might be something to do with the number of transactions... your airline has almost 70,000 transactions stored in the database. I was having issues with flight history, might be the same thing here where it just won't load after a certain point.
I am the developer of Airline Enterprise
Posts: 69
Threads: 10
Joined: Jul 2017
Reputation:
0
Yeah, I thought it might have something to do with that, thanks.
Posts: 2,258
Threads: 138
Joined: Jul 2016
Reputation:
11
I just made some changes, does it work for you now or is it still not displaying anything?
I am the developer of Airline Enterprise
Posts: 69
Threads: 10
Joined: Jul 2017
Reputation:
0
It's hit or miss. Sometimes I have to refresh the page a few times to get it to load, but it'll eventually shows up.
Posts: 2,258
Threads: 138
Joined: Jul 2016
Reputation:
11
Hmm okay I'll see what else I can do.
I am the developer of Airline Enterprise
Posts: 69
Threads: 10
Joined: Jul 2017
Reputation:
0
It's not a big deal right now, at least to me. I've just been looking at my flight history once in a while to see if I get any negative reputation from the gates issue I was having earlier.
Posts: 2,258
Threads: 138
Joined: Jul 2016
Reputation:
11
Somehow there's a way that I should be able to make it only load the transactions that are displayed on that page rather than all of them. Just need to figure it out. That should solve the problem. Can probably do the same for flight history.
I am the developer of Airline Enterprise
Posts: 69
Threads: 10
Joined: Jul 2017
Reputation:
0
Sounds good. I've never had an issue with the flight history as of yet, but that's probably because I only have about 1/5 as many pages as I do in the ledger. Let me know when you have something worked out and I'll check it out for you.
Posts: 2,258
Threads: 138
Joined: Jul 2016
Reputation:
11
Made some further changes to the database, it should load a bit quicker now.
Going to create a script that batches the transactions and deletes them after 3 months, so the financial data for each month after the 3 month period will be saved, but the individual transactions will be deleted. That probably won't help loading times as much though. Need to do something similar, maybe at the end of each month that batches transactions and stores the values just so the income statement doesn't have to calculate them on the fly each time the page loads.
I am the developer of Airline Enterprise