Menu

Mass editing on Peer reviewed field?

Help
Joachim
2013-05-17
2013-05-18
  • Joachim

    Joachim - 2013-05-17

    Hi,

    I've got more than 200 resources from a journal I thought of being peer reviewed, but now I found out it isn't. Is there a way to change all those resources in one swoop? I know a little bit SQL, but I'm afraid to do something irreparable wrong …

    Regards
    Joachim

     
  • Mark Grimshaw

    Mark Grimshaw - 2013-05-18

    Hi Joachim,

    (Moved this to the Help forum.)

    Try this:
    UPDATE WKX_resource_misc SET resourcemiscPeerReviewed = 'N' WHERE resourcemiscCollection = 3

    where '3' is the collectionId from the collection table of the journal you want.

    (Backup the database in case anything goes wrong.)

    Mark

     
  • Mark Grimshaw

    Mark Grimshaw - 2013-05-18

    (and this assumes your config.php has 'WKX_' as the database table prefix.)

     
  • Joachim

    Joachim - 2013-05-18

    Thanks Mark, it worked!

     
  • Mark Grimshaw

    Mark Grimshaw - 2013-05-18

    Great.

    Mark

     

Log in to post a comment.