jaros1 / Money-Network

Demo with complementary and alternative money. Implemented in ZeroNet and AngularJS. Focus on privacy, encryption, max data in client and min data on ZeroNet. Work in progress.
GNU General Public License v2.0
4 stars 4 forks source link

Money page - Avg. rating is missing for W2 #353

Closed jaros1 closed 6 years ago

jaros1 commented 6 years ago

screenshot from 2018-03-26 18-23-34

127.0.0.1-1522081558250.log

jaros1 commented 6 years ago

Rating should have been 4.5 for W2:

 res = [
    {"wallet_description":"Money Network - Wallet 3 - https://docs.ethers.io/ethers.js/ - runner jro","wallet_domain":null,"wallet_title":"MoneyNetworkW3",
     "api_url":"https://docs.ethers.io/ethers.js","content_modified":1522079070,"wallet_address":"1W3EthT2fgD5GQmKp3B3v2uC4qdn1nFpo","review":"Wallet is not ready. Implementing Ethereum / ether wallet",
     "wallets_directory":"182Uot1yJ6mZEwQYE5LX1P5f6VPyJ9gUGe/data/users/16nDbDocFiEsuBn91SknhYFbA33DVdxMQ9","last_online":1522079069,"wallet_sha256":"5cbe727157ce287319d4ac018584532f9c6de432d341e2cfc4a52a392e7c71f4",
     "wallets_cert_user_id":"16nDbDocFiEsu@moneynetwork.bit",
     "rate":2,"avatar":"6.png",
     "wallet_directory":"1W3Et1D5BnqfsXfx2kSx8T61fTPz5V2Ft/data/users/16nDbDocFiEsuBn91SknhYFbA33DVdxMQ9","address":"1W3EthT2fgD5GQmKp3B3v2uC4qdn1nFpo","wallet_modified":1522078965,"user_seq":1,"wallets_modified":1522079069,
     "tags1":"Name,jro test arch linux,%,%","tags2":"Name#jro test arch linux#%#%"},
    {"wallet_description":"Money Network - Wallet 2 - BitCoins www.blocktrail.com - runner jro","wallet_domain":null,"wallet_title":"MoneyNetworkW2",
     "api_url":"https://www.blocktrail.com/api/docs","content_modified":1522079070,"wallet_address":"1LqUnXPEgcS15UGwEgkbuTbKYZqAUwQ7L1","review":null,
     "wallets_directory":"182Uot1yJ6mZEwQYE5LX1P5f6VPyJ9gUGe/data/users/16nDbDocFiEsuBn91SknhYFbA33DVdxMQ9","last_online":1522079069,"wallet_sha256":"23823ecbc270ac395f20b068efa992d758988b85d570294d81434a463df3210c",
     "wallets_cert_user_id":"16nDbDocFiEsu@moneynetwork.bit",
     "rate":4,"avatar":"6.png",
     "wallet_directory":"1HXzvtSLuvxZfh6LgdaqTk4FSVf7x8w7NJ/data/users/16nDbDocFiEsuBn91SknhYFbA33DVdxMQ9","address":"1LqUnXPEgcS15UGwEgkbuTbKYZqAUwQ7L1","wallet_modified":1521898749,"user_seq":1,"wallets_modified":1522079069,
     "tags1":"Name,jro test arch linux,%,%","tags2":"Name#jro test arch linux#%#%"},
    {"wallet_description":"Money Network - Wallet 2 - BitCoins www.blocktrail.com - runner jro","wallet_domain":null,"wallet_title":"MoneyNetworkW2",
     "api_url":"https://www.blocktrail.com/api/docs","content_modified":1520510102,"wallet_address":"1LqUnXPEgcS15UGwEgkbuTbKYZqAUwQ7L1","review":null,
     "wallets_directory":"1922ZMkwZdFjKbSAdFR1zA5YBHMsZC51uc/data/users/1EJPPGCPzkztfwYiRCVj3C5VgHU3FpEoE1","last_online":1520510056,"wallet_sha256":"23823ecbc270ac395f20b068efa992d758988b85d570294d81434a463df3210c",
     "wallets_cert_user_id":"1EJPPGCPzkztf@moneynetwork.bit",
     "rate":5,"avatar":"8.png",
     "wallet_directory":"1HXzvtSLuvxZfh6LgdaqTk4FSVf7x8w7NJ/data/users/18DbeZgtVCcLghmtzvg4Uv8uRQAwR8wnDQ","address":"1LqUnXPEgcS15UGwEgkbuTbKYZqAUwQ7L1","wallet_modified":1520440207,"user_seq":2,"wallets_modified":1520510070,
     "tags1":"Name,jro test zerogate,%,%","tags2":"Name#jro test zerogate#%#%"}]
jaros1 commented 6 years ago

Fixed. Simple nested for loop error. Was using same variables for nested loops.

screenshot from 2018-03-26 18-58-39