RESQUE-Framework / website

The Research Quality Evaluation Scheme
https://resque-framework.github.io/website/
MIT License
2 stars 3 forks source link

Add version to meta-pack, save version in JSON #80

Closed nicebread closed 4 months ago

alpkaanaksu commented 4 months ago

We always had it?

I changed it to 0.2.0 for now (no particular reason, I don't know what we should set it to.). We also have the 'date' now, just like in all other packs.

nicebread commented 4 months ago

But the version of the meta-pack is not saved in the exported json:

[
  {
    "type": "meta",
    "queryConfig": {
      "global": {}
    },
    "position": 0,
    "date_created": 1710145525582,
    "date_modified": 1710145531542,
    "LastName": "Test",
    "FirstName": "Test",
    "YearPhD": "2123",
    "AcademicAgeBonus": "0",
    "RaterType": "Applicant",
    "date_exported": 1710145536841
  },
  {
    "type": "pub",
    "version": "0.3.1",
    "date_added": 1710145531542,
alpkaanaksu commented 4 months ago

Ok, I see the problem now. Fixed here: a7edea2f06548feb03edb74113179ce56c763aee

[
  {
    "type": "meta",
    "version": "0.2.0",
    "date_created": 1710157778773,
    "queryConfig": {
      "global": {
        "mode": "preview-single"
      }
    },
    "position": 0,
    "date_modified": 1710157819478,
    "LastName": "Test",
    "FirstName": "Test",
    "YearPhD": "2123",
    "AcademicAgeBonus": "0",
    "ORCID": ".",
    "RaterType": "Applicant",
    "date_exported": 1710157828288
  },
  {
    "type": "pub",
    "version": "0.3.1",
    "date_added": 1710157787366,