Posted January 07, 2016
![moonshineshadow](https://images.gog.com/2d184141cf6367d5ab4d499045c83630a8b13ddc04b6a6a6dec35cf85aa648fd_forum_avatar.jpg)
moonshineshadow
Ghost
Registered: Sep 2011
From Switzerland
![mrkgnao](https://images.gog.com/c122e53a8f42189d8f91ab9adcfa4a6f31dbf48d3ad07a891b6b2ed0e1ea8a1f_forum_avatar.jpg)
mrkgnao
https://www.amazon.com/dp/B00HCZVCTO
Registered: Apr 2009
From United States
Posted January 07, 2016
high rated
![avatar](http://images.gog.com/fc8ebd082c233822f091875ad36c1102a4a7d58be19b73e72c997de681aa40f1_avm.jpg)
Settings Initilised
AF-style setting changed
navbar-fundamentals-position setting changed
Features Loaded
/account
Account
Change Download Links called
setDownloadOptions called
setDownloadOptions finished
Before $compile function
In $compile
library-downloader-links setting changed
afGetData Called
Manual sorting selected, retrieving products
library-games-per-page setting changed
Allow Manual Sort
library-manual-sort setting changed
compileLibrary called
Templates Compiled
Legacy Library View
Change template event called
Legacy Library Grid View
library-style setting changed
library-shelf-colour setting changed
addTopPagination called
library-top-pagin setting changed
Process Manual Sort
Legacy template set
Allow Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Manual Sort Products
Retrieve Manual Sort Order
Manual Sort Done
Allow Manual Sort
Pop up shown
Changelog shown
Library shown
afGetData Called
Manual sorting selected, retrieving products
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Manual Sort Products
Retrieve Manual Sort Order
Manual Sort Done
Allow Manual Sort
afGetData Called
Manual sorting selected, retrieving products
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Manual Sort Products
Retrieve Manual Sort Order
Manual Sort Done
Allow Manual Sort
afGetData Called
Manual sorting selected, retrieving products
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Manual Sort Products
Retrieve Manual Sort Order
Manual Sort Done
Allow Manual Sort
afGetData Called
Manual sorting selected, retrieving products
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Manual Sort Products
Retrieve Manual Sort Order
Manual Sort Done
Allow Manual Sort
afGetData Called
Manual sorting selected, retrieving products
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Manual Sort Products
Retrieve Manual Sort Order
Manual Sort Done
Allow Manual Sort
afGetData Called
Manual sorting selected, retrieving products
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Manual Sort Products
Retrieve Manual Sort Order
Manual Sort Done
Allow Manual Sort
afGetData Called
Manual sorting selected, retrieving products
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Manual Sort Products
Retrieve Manual Sort Order
Manual Sort Done
Allow Manual Sort
afGetData Called
Manual sorting selected, retrieving products
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Manual Sort Products
Retrieve Manual Sort Order
Manual Sort Done
Allow Manual Sort
afGetData Called
Manual sorting selected, retrieving products
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Manual Sort Products
Retrieve Manual Sort Order
Manual Sort Done
Allow Manual Sort
afGetData Called
Manual sorting selected, retrieving products
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Process Manual Sort
Manual Sort Products
Retrieve Manual Sort Order
Manual Sort Done
Allow Manual Sort
![mrkgnao](https://images.gog.com/c122e53a8f42189d8f91ab9adcfa4a6f31dbf48d3ad07a891b6b2ed0e1ea8a1f_forum_avatar.jpg)
mrkgnao
https://www.amazon.com/dp/B00HCZVCTO
Registered: Apr 2009
From United States
Posted January 07, 2016
high rated
![avatar](http://images.gog.com/fc8ebd082c233822f091875ad36c1102a4a7d58be19b73e72c997de681aa40f1_avm.jpg)
I'm wondering whether they're accidentally (somehow) calling a different sort order or filtering setting and we're getting duplicates that way.
GET https://www.gog.com/account/getFilteredProducts?h...=0&mediaType=1&page=7&sortBy=title&totalPages=13
200 OK
451ms
c1a69ab...0d68.js (line 7)
afGetData Called
gm_script (line 34)
Manual sorting selected, retrieving products
gm_script (line 34)
8
Process Manual Sort
gm_script (line 34)
GET https://www.gog.com/account/getFilteredProducts?h...=0&mediaType=1&page=8&sortBy=title&totalPages=13
200 OK
449ms
c1a69ab...0d68.js (line 7)
GET https://www.gog.com/account/getFilteredProducts?h...=0&mediaType=1&page=9&sortBy=title&totalPages=13
200 OK
446ms
c1a69ab...0d68.js (line 7)
GET https://www.gog.com/account/getFilteredProducts?h...0&mediaType=1&page=10&sortBy=title&totalPages=13
200 OK
417ms
c1a69ab...0d68.js (line 7)
GET https://www.gog.com/account/getFilteredProducts?h...0&mediaType=1&page=11&sortBy=title&totalPages=13
200 OK
450ms
c1a69ab...0d68.js (line 7)
GET https://www.gog.com/account/getFilteredProducts?h...0&mediaType=1&page=12&sortBy=title&totalPages=13
200 OK
473ms
c1a69ab...0d68.js (line 7)
5
Process Manual Sort
gm_script (line 34)
Manual Sort Products
gm_script (line 34)
Retrieve Manual Sort Order
gm_script (line 34)
Manual Sort Done
gm_script (line 34)
GET https://gog.bigpizzapies.com/af_legacy_urls.php?report&&id=1444731636
200 OK
1.14s
c1a69ab...0d68.js (line 7)
Allow Manual Sort
gm_script (line 34)
and page 11 (does not):
GET https://www.gog.com/account/getFilteredProducts?h...0&mediaType=1&page=11&sortBy=title&totalPages=13
200 OK
514ms
c1a69ab...0d68.js (line 7)
afGetData Called
gm_script (line 34)
Manual sorting selected, retrieving products
gm_script (line 34)
12
Process Manual Sort
gm_script (line 34)
GET https://www.gog.com/account/getFilteredProducts?h...0&mediaType=1&page=12&sortBy=title&totalPages=13
200 OK
449ms
c1a69ab...0d68.js (line 7)
Process Manual Sort
gm_script (line 34)
Manual Sort Products
gm_script (line 34)
Retrieve Manual Sort Order
gm_script (line 34)
Manual Sort Done
gm_script (line 34)
Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: product in productPage.products track by product.id, Duplicate key: 1207663523, Duplicate value: {"isGalaxyCompatible":true,"tags":[],"id":1207663523,"availability":{"isAvailable":false,"isAvailableInAccount ":true},"title":"Tomb Raider Chronicles","image":"//images-4.gog.com/05750641e3178b5a22c93e756c9efbf08a4356b48ef01f576122fad567acec01","url ":"/game/tomb_raider_the_last_revelation_chronicles","worksOn":{"Windows":true,"Mac":false,"Linux":false},"cat egory":"","rating":0,"isComingSoon":false,"isMovie":false,"isGame":true,"slug":"tomb_raider_chronicles","updat es":0,"isNew":false,"dlcCount":0,"releaseDate":{"date":"1999-11-24 00:00:00","timezone_type":3,"timezone":"Europe/Nicosia"},"isBaseProductMissing":false,"isHidingDisabled":false ,"isHidden":false}
http://errors.angularjs.org/1.4.3/ngRepeat/dupes?p0=product%20in%20productPage.products%20track%20by%20product.id&p1=1207663523&p2=%7B%22isGalaxyCompatible%22%3Atrue%2C%22tags%22%3A%5B%5D%2C%22id%22%3A1207663523%2C%22availability%22%3A%7B%22isAvailable%22%3Afalse%2C%22isAvailableInAccount%22%3Atrue%7D%2C%22title%22%3A%22Tomb%20Raider%20Chronicles%22%2C%22image%22%3A%22%2F%2Fimages-4.gog.com%2F05750641e3178b5a22c93e756c9efbf08a4356b48ef01f576122fad567acec01%22%2C%22url%22%3A%22%2Fgame%2Ftomb_raider_the_last_revelation_chronicles%22%2C%22worksOn%22%3A%7B%22Windows%22%3Atrue%2C%22Mac%22%3Afalse%2C%22Linux%22%3Afalse%7D%2C%22category%22%3A%22%22%2C%22rating%22%3A0%2C%22isComingSoon%22%3Afalse%2C%22isMovie%22%3Afalse%2C%22isGame%22%3Atrue%2C%22slug%22%3A%22tomb_raider_chronicles%22%2C%22updates%22%3A0%2C%22isNew%22%3Afalse%2C%22dlcCount%22%3A0%2C%22releaseDate%22%3A%7B%22date%22%3A%221999-11-24%2000%3A00%3A00%22%2C%22timezone_type%22%3A3%2C%22timezone%22%3A%22Europe%2FNicosia%22%7D%2C%22isBaseProductMissing%22%3Afalse%2C%22isHidingDisabled%22%3Afalse%2C%22isHidden%22%3Afalse%7D
d/<@[url=https://www4-static3.gog.com/js/c1a69ab-eea0d68.js:6:381]https://www4-static3.gog.com/js/c1a69ab-eea0d68.js:6:381[/url]
ig</<.compile/</<@[url=https://www4-static3.gog.com/js/c1a69ab-eea0d68.js:10:18683]https://www4-static3.gog.com/js/c1a69ab-eea0d68.js:10:18683[/url]
d@[url=https://www4-static3.gog.com/js/c1a69ab-eea0d68.js:8:4145]https://www4-static3.gog.com/js/c1a69ab-eea0d68.js:8:4145[/url]
pc/this.$get</n.prototype.$digest@[url=https://www4-static3.gog.com/js/c1a69ab-eea0d68.js:8:4872]https://www4-static3.gog.com/js/c1a69ab-eea0d68.js:8:4872[/url]
pc/this.$get</n.prototype.$apply@[url=https://www4-static3.gog.com/js/c1a69ab-eea0d68.js:8:6433]https://www4-static3.gog.com/js/c1a69ab-eea0d68.js:8:6433[/url]
f@[url=https://www4-static3.gog.com/js/c1a69ab-eea0d68.js:7:13108]https://www4-static3.gog.com/js/c1a69ab-eea0d68.js:7:13108[/url]
r@[url=https://www4-static3.gog.com/js/c1a69ab-eea0d68.js:7:14907]https://www4-static3.gog.com/js/c1a69ab-eea0d68.js:7:14907[/url]
Cb/</v.onload@[url=https://www4-static3.gog.com/js/c1a69ab-eea0d68.js:7:15447]https://www4-static3.gog.com/js/c1a69ab-eea0d68.js:7:15447[/url]
...){if(null==a)return"";switch(typeof a){case"string":break;case"number":a=""+a;br...
c1a69ab...0d68.js (line 7)
Allow Manual Sort
gm_script (line 34)
[Note: the "h...=0" and "h...0" are "hiddenFlag=0" throughout]
3) Firefox only.
Post edited January 07, 2016 by mrkgnao
![adaliabooks](https://images.gog.com/c90963e355fe1295789b379c4a4da768cbe394dc8b4c54439a31b01bfa2febc8_forum_avatar.jpg)
adaliabooks
"Vell, Zaphod's just zis guy, you know?"
Registered: Jun 2013
From United Kingdom
Posted January 07, 2016
high rated
Thanks, that seems to be right (unfortunately, that would have explained a lot...), everything is getting called just the right amount of times.
And that looks right too...
So far everyone with issues is on Firefox, would you mind running a test in Iron to see if it's a Firefox thing or a problem for all browsers?
Thanks.
I wish I could just reproduce the damn problem myself and this would be much easier...
And that looks right too...
So far everyone with issues is on Firefox, would you mind running a test in Iron to see if it's a Firefox thing or a problem for all browsers?
Thanks.
I wish I could just reproduce the damn problem myself and this would be much easier...
![mrkgnao](https://images.gog.com/c122e53a8f42189d8f91ab9adcfa4a6f31dbf48d3ad07a891b6b2ed0e1ea8a1f_forum_avatar.jpg)
mrkgnao
https://www.amazon.com/dp/B00HCZVCTO
Registered: Apr 2009
From United States
Posted January 07, 2016
high rated
Post edited January 07, 2016 by mrkgnao
![adaliabooks](https://images.gog.com/c90963e355fe1295789b379c4a4da768cbe394dc8b4c54439a31b01bfa2febc8_forum_avatar.jpg)
adaliabooks
"Vell, Zaphod's just zis guy, you know?"
Registered: Jun 2013
From United Kingdom
Posted January 07, 2016
high rated
![avatar](http://images.gog.com/c122e53a8f42189d8f91ab9adcfa4a6f31dbf48d3ad07a891b6b2ed0e1ea8a1f_avm.jpg)
I'll probably put a few more tests up at some point (I'll try some other generic sorts on the list to see if that part of it is the problem, right now everything is still pointing to the sort itself being the issue so I'll break down the various parts of it and see if any specific bit is causing trouble)
![adaliabooks](https://images.gog.com/c90963e355fe1295789b379c4a4da768cbe394dc8b4c54439a31b01bfa2febc8_forum_avatar.jpg)
adaliabooks
"Vell, Zaphod's just zis guy, you know?"
Registered: Jun 2013
From United Kingdom
![mrkgnao](https://images.gog.com/c122e53a8f42189d8f91ab9adcfa4a6f31dbf48d3ad07a891b6b2ed0e1ea8a1f_forum_avatar.jpg)
mrkgnao
https://www.amazon.com/dp/B00HCZVCTO
Registered: Apr 2009
From United States
Posted January 07, 2016
high rated
![avatar](http://images.gog.com/fc8ebd082c233822f091875ad36c1102a4a7d58be19b73e72c997de681aa40f1_avm.jpg)
I've changed the actual sort function to just a basic sort to see if that might be the problem.
So the library will appear alphabetically sorted but hopefully all the pages might show..
Tested it:
- Page order ok
- No empty pages
- No duplicates error
The only issue still present:
- Moving from page 12 to 13 does nothing
![adaliabooks](https://images.gog.com/c90963e355fe1295789b379c4a4da768cbe394dc8b4c54439a31b01bfa2febc8_forum_avatar.jpg)
adaliabooks
"Vell, Zaphod's just zis guy, you know?"
Registered: Jun 2013
From United Kingdom
Posted January 07, 2016
high rated
![avatar](http://images.gog.com/c122e53a8f42189d8f91ab9adcfa4a6f31dbf48d3ad07a891b6b2ed0e1ea8a1f_avm.jpg)
Tested it:
- Page order ok
- No empty pages
- No duplicates error
The only issue still present:
- Moving from page 12 to 13 does nothing
Thanks mrkgnao :)
So it's the actual sorting function itself. The question now is why.
Still not sure about the last bit.. according to your earlier output 13 pages are being processed for sorting so I don't know why the last page isn't working.
I presume there are games that should be on that page? It's not a phantom extra page?
And when you say, 'does nothing', does that mean that page 12 still shows? Or that you get an empty page?
Because actually thinking about it maybe there is a reason for that... I promise I'll sort that next once I finally fix the manual sort :)
![adaliabooks](https://images.gog.com/c90963e355fe1295789b379c4a4da768cbe394dc8b4c54439a31b01bfa2febc8_forum_avatar.jpg)
adaliabooks
"Vell, Zaphod's just zis guy, you know?"
Registered: Jun 2013
From United Kingdom
Posted January 07, 2016
high rated
Put another update, still should sort by name but may break things again. Just trying to see whether it's the sort function itself or the method I have to use to actually use it.
Thanks guys :)
Thanks guys :)
![mrkgnao](https://images.gog.com/c122e53a8f42189d8f91ab9adcfa4a6f31dbf48d3ad07a891b6b2ed0e1ea8a1f_forum_avatar.jpg)
mrkgnao
https://www.amazon.com/dp/B00HCZVCTO
Registered: Apr 2009
From United States
Posted January 07, 2016
high rated
![avatar](http://images.gog.com/fc8ebd082c233822f091875ad36c1102a4a7d58be19b73e72c997de681aa40f1_avm.jpg)
I presume there are games that should be on that page? It's not a phantom extra page?
And when you say, 'does nothing', does that mean that page 12 still shows? Or that you get an empty page?
Because actually thinking about it maybe there is a reason for that... I promise I'll sort that next once I finally fix the manual sort :)
Page 13 contains the famous 33 games beginning with W-Z.
Does nothing means the little box changes to 13 (of 13), but no AJAX call, and page 12 continues to be displayed.
The major issue (empty pages, duplicate errors) is back but page order seems ok (for displaying pages).
Post edited January 07, 2016 by mrkgnao
![HypersomniacLive](https://images.gog.com/fc4a1abc37a5fe68e4e7fe666d87976d9900b9f928128c087fa9bbdf2e3e4bc4_forum_avatar.jpg)
HypersomniacLive
The Reluctant Voter
Registered: Sep 2011
From Vatican City
Posted January 07, 2016
high rated
![avatar](http://images.gog.com/fc8ebd082c233822f091875ad36c1102a4a7d58be19b73e72c997de681aa40f1_avm.jpg)
So far everyone with issues is on Firefox, would you mind running a test in Iron to see if it's a Firefox thing or a problem for all browsers?
Thanks.
I wish I could just reproduce the damn problem myself and this would be much easier...
If not, do you want me to try the latest and report? On Firefox, SWare Iron, both?
![adaliabooks](https://images.gog.com/c90963e355fe1295789b379c4a4da768cbe394dc8b4c54439a31b01bfa2febc8_forum_avatar.jpg)
adaliabooks
"Vell, Zaphod's just zis guy, you know?"
Registered: Jun 2013
From United Kingdom
Posted January 07, 2016
high rated
![avatar](http://images.gog.com/c122e53a8f42189d8f91ab9adcfa4a6f31dbf48d3ad07a891b6b2ed0e1ea8a1f_avm.jpg)
Page 13 contains the famous 33 games beginning with W-Z.
Does nothing means the little box changes to 13 (of 13), but no AJAX call, and page 12 continues to be displayed.
The major issue (empty pages, duplicate errors) is back but page order seems ok (for displaying pages).
I might have an idea what's actually happening now that I think about, it's most likely an index issue and I can probably sort it with the next issue.
Finally, a result I was expecting.
Ok, so the issue seems to be exporting the function (no idea why, but it's definitely the problem) so I just need to rework things so the manual sort function can be natively in the injected script rather than having to be exported...
Might actually have this cracked :)
![avatar](http://images.gog.com/734aeae7a4916aefed2dc8d56e75dc49b5dfd478fbf779ff55c1a00f62a318b9_avm.jpg)
If not, do you want me to try the latest and report? On Firefox, SWare Iron, both?
Thanks, but it's ok for now. Hopefully have another version (that works) ready soon.
![adaliabooks](https://images.gog.com/c90963e355fe1295789b379c4a4da768cbe394dc8b4c54439a31b01bfa2febc8_forum_avatar.jpg)
adaliabooks
"Vell, Zaphod's just zis guy, you know?"
Registered: Jun 2013
From United Kingdom
Posted January 07, 2016
high rated
Right, another non versioned update (I'm not putting more numbers on it till I know it's working XD)
I think we should now have all pages showing (bar maybe the last) and sorted by manual sort order.
I haven't quite got mrkgnao's last page error sussed, the indices look right though I'm sure it's probably the cause of the issues.
But if the rest of it is fixed then we can see if it's specific to him or a general issue.
Let me know, thanks! :)
I think we should now have all pages showing (bar maybe the last) and sorted by manual sort order.
I haven't quite got mrkgnao's last page error sussed, the indices look right though I'm sure it's probably the cause of the issues.
But if the rest of it is fixed then we can see if it's specific to him or a general issue.
Let me know, thanks! :)
![moonshineshadow](https://images.gog.com/2d184141cf6367d5ab4d499045c83630a8b13ddc04b6a6a6dec35cf85aa648fd_forum_avatar.jpg)
moonshineshadow
Ghost
Registered: Sep 2011
From Switzerland
Posted January 08, 2016
high rated
![avatar](http://images.gog.com/fc8ebd082c233822f091875ad36c1102a4a7d58be19b73e72c997de681aa40f1_avm.jpg)
I think we should now have all pages showing (bar maybe the last) and sorted by manual sort order.
I haven't quite got mrkgnao's last page error sussed, the indices look right though I'm sure it's probably the cause of the issues.
Yes I can see see games on all pages now except the last one (which shows me a duplicate of the page before)... but manual sorting is gone. Even when I import my saved manual sort it does not work at all.
Problem:
Retrieve Manual Sort Order adaliafundamentals.user.js:34:13
ReferenceError: manualSortOrder is not defined
Post edited January 08, 2016 by moonshineshadow