Commit Graph

8 Commits

Author SHA1 Message Date
Paolo Arena
6a0b7db73c - Modified privacywrite query with graphLookup:
$graphLookup: {
        from: "projects",
        startWith: "$id_main_project",
        connectFromField: "id_main_project",
        connectToField: "_id",
        as: "ris",
        restrictSearchWithMatch: { $or: [{ privacyread: server_constants.Privacy.all }, { userId: userId }] }
      }
    },
    { $match: { "ris.privacyread": { $exists: true } } },
2019-04-13 03:04:49 +02:00
Paolo Arena
1deba2a5ff - add fields: typeproj and id_main_project 2019-04-09 21:07:30 +02:00
Paolo Arena
7b444bc561 ++ hoursweeky_plannedtowork, endwork_estimate, totalphases , actualphase 2019-04-07 21:24:27 +02:00
Paolo Arena
1856818d3a Calculation recorsively up completed! 2019-04-06 21:52:34 +02:00
Paolo Arena
6310a7a971 Updated Project calculation for hours and progress. 2019-04-06 21:02:39 +02:00
Paolo Arena
7c3684813a Added begin_development and begin_test
Added status (changed completed field)
fixed internet status connection.
2019-04-02 00:27:59 +02:00
Paolo Arena
cadf2ef86a - added fields: longdescr, hoursworked, hoursplanned 2019-03-30 02:58:19 +01:00
Paolo Arena
f4ad69674e ++ Projects 2019-03-28 12:58:58 +01:00