Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vahingossa poistettujen osakohteiden palautus TäTissä #1244

Closed
AnneliO opened this issue May 23, 2024 · 8 comments
Closed

Vahingossa poistettujen osakohteiden palautus TäTissä #1244

AnneliO opened this issue May 23, 2024 · 8 comments
Assignees

Comments

@AnneliO
Copy link
Contributor

AnneliO commented May 23, 2024

Tukipyyntö

TäTissä on vahingossa poistettu osakohdetietueet biblionumber-väliltä 2452045-2452065. Saisiko nuo palautettua aktiivisiin tauluihin?

Jotain muuta?

No response

@CodoDerDritte CodoDerDritte self-assigned this May 23, 2024
@CodoDerDritte
Copy link
Collaborator

Tietueet on palautettu:

MariaDB [tatiprod]> insert into biblio select * from deletedbiblio where biblionumber in ('2452045', '2452046', '2452047', '2452048', '2452049', '2452050', '2452051', '2452052', '2452053', '2452054', '2452055', '2452056', '2452057', '2452058', '2452059', '2452060', '2452061', '2452062', '2452063', '2452064', '2452065');
Query OK, 21 rows affected (0.003 sec)
Records: 21  Duplicates: 0  Warnings: 0

MariaDB [tatiprod]> insert into biblioitems select * from deletedbiblioitems where biblionumber in ('2452045', '2452046', '2452047', '2452048', '2452049', '2452050', '2452051', '2452052', '2452053', '2452054', '2452055', '2452056', '2452057', '2452058', '2452059', '2452060', '2452061', '2452062', '2452063', '2452064', '2452065');
Query OK, 21 rows affected (0.015 sec)
Records: 21  Duplicates: 0  Warnings: 0

MariaDB [tatiprod]> insert into biblio_metadata select * from deletedbiblio_metadata where biblionumber in ('2452045', '2452046', '2452047', '2452048', '2452049', '2452050', '2452051', '2452052', '2452053', '2452054', '2452055', '2452056', '2452057', '2452058', '2452059', '2452060', '2452061', '2452062', '2452063', '2452064', '2452065');
Query OK, 21 rows affected (0.007 sec)
Records: 21  Duplicates: 0  Warnings: 0

MariaDB [tatiprod]> delete from deletedbiblio where biblionumber in ('2452045', '2452046', '2452047', '2452048', '2452049', '2452050', '2452051', '2452052', '2452053', '2452054', '2452055', '2452056', '2452057', '2452058', '2452059', '2452060', '2452061', '2452062', '2452063', '2452064', '2452065');
Query OK, 21 rows affected (0.001 sec)

MariaDB [tatiprod]> delete from deletedbiblioitems where biblionumber in ('2452045', '2452046', '2452047', '2452048', '2452049', '2452050', '2452051', '2452052', '2452053', '2452054', '2452055', '2452056', '2452057', '2452058', '2452059', '2452060', '2452061', '2452062', '2452063', '2452064', '2452065');
Query OK, 21 rows affected (0.002 sec)

MariaDB [tatiprod]> delete from deletedbiblio_metadata where biblionumber in ('2452045', '2452046', '2452047', '2452048', '2452049', '2452050', '2452051', '2452052', '2452053', '2452054', '2452055', '2452056', '2452057', '2452058', '2452059', '2452060', '2452061', '2452062', '2452063', '2452064', '2452065');
Query OK, 0 rows affected (0.003 sec)

MariaDB [tatiprod]> commit;
Query OK, 0 rows affected (0.002 sec)

@AnttHeik
Copy link

Miten pian näiden tietueiden pitäisi näkyä taas TäTissä, koska ainakaan vielä niitä ei näytä löytyvän?

@CodoDerDritte
Copy link
Collaborator

Kyllä ne aktiivisissa tauluissa ovat :D Eivät siis näy ollenkaan (edes jos biblionumberilla menee suoraan tietuenäytölle) vai eivät löydy haussa?

@CodoDerDritte
Copy link
Collaborator

Näyttäisivät kyllä olevan olemassa (esimerkiksi https://tati.koha-suomi.fi/cgi-bin/koha/catalogue/detail.pl?biblionumber=2452045), eli varmaan indeksijuttu, korjataanpas se vielä.

@AnttHeik
Copy link

AnttHeik commented May 23, 2024

Joo, nyt tosiaan löytyy kun tekee suoraan noin, mutta eivät vain yhdisty emoon vielä tai siis näy emoon liitettyinä

@CodoDerDritte
Copy link
Collaborator

CodoDerDritte commented May 23, 2024

Nyt on uudelleenindeksoitu ja näkyvät emonsa yhteydessä ja palautuvat haussa.

@AnttHeik
Copy link

Jeps, nyt näyttää olevan kunnossa, kiitokset :)

@AnneliO
Copy link
Contributor Author

AnneliO commented May 23, 2024

Kiitos, suljen tiketin! :)

@AnneliO AnneliO closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Suljettu
Development

No branches or pull requests

3 participants