internetarchive / dweb-mirror

Offline Internet Archive project
https://www-dweb-mirror.dev.archive.org/
GNU Affero General Public License v3.0
263 stars 27 forks source link

Not seeing already downloaded members #216

Closed mitra42 closed 5 years ago

mitra42 commented 5 years ago

Not seeing already downloaded members Offline > Home > UniversalLibrary (shows 30) > scroll down not seeing remainder Suspect its looking at a query rather than the members. Its looking at -downloads.members not members "default sort is setting to false", meaning part becomes members_cached (2x'') BECAUSE default_sort assumes this.sort is a string, and its an array here. NEEDS thorough check of this.sort is it array/string or either.

Poss related but different - More goes to p_http even when offline

mitra42 commented 5 years ago

dweb-archivecontroller.item assumes sort is an array and converts in constructor dweb-archive assumes its a string ... check how passed to DAC - make sure never set .sort to a string - found and fixed a couple of spots dweb-mirror was ok