Larian77 / Openbiblio

Other
7 stars 6 forks source link

Discussion: Präsenzbestand / in presentation #13

Closed LeAchim59 closed 7 months ago

LeAchim59 commented 8 months ago

Es gibt Exemplare, die im Bestand vorhanden sind, auch öffentlich zugänglich sind, aber nicht ausgeliehen werden sollen. Der Präsenzbestand. Derzeit kann man bei einem Exemplar (biblio_copy) den Status auf "in Präsentation" setzen. Dieser verhindert aber nicht die Ausleihe. Je nachdem, wie die Sammlung räumlich organisiert ist, betrifft das auch den Standort des Exemplars.

Lösungsvorschlag:


There are items that are available in the collection and are also accessible to the public, but are not to be borrowed. The reference collection. You can currently set the status of a copy (biblio_copy) to "in presentation". However, this does not prevent items from being borrowed. Depending on how the collection is spatially organised, this also affects the location of the copy.

Suggested solution:

Translated with DeepL.com (free version)

Larian77 commented 7 months ago

Die derzeitige Lösung wäre eine Medienart "Präsentation" zu erstellen, wo man dann definieren könnte, dass diese nicht ausgeliehen werden kann. Aber grundsätzlich sollte für eine zukünftige Version tatsächlich darüber nachgedacht werden.

The current solution would be to create a media type "Presentation", where you could define that it cannot be borrowed. But in principle, this should really be considered for a future version.

LeAchim59 commented 7 months ago

Richtig, die Medienart kann nicht die Lösung sein. Die beschreibt das Medium und nicht den Umgang damit und wir haben durchaus auch mehrere Exemplare des gleichen Mediums, von denen einige ausgeliehen und ein anderes in Präsentation sein kann. Ich sehe kein Hindernis (außer zeitlich), warum man das nicht in der derzeitigen DB Version implementieren kann. Es ist lediglich die Einführung eines neuen Status für ein Exemplar, der nur manuell gesetzt werden kann. Wer ihn nicht nutzt, für den verändert sich nichts.


Correct, the type of media cannot be the solution. It describes the medium and not the handling of it, and we may well have several copies of the same medium, some of which may be on loan and another in presentation. I see no obstacle (other than time) as to why this cannot be implemented in the current DB version. It is just the introduction of a new status for a copy, which can only be set manually. For those who do not use it, nothing changes.

Larian77 commented 7 months ago

Ok, habe das ganze umgesetzt, ein Mini-Kleiner Punkt ist da, man muss für diese Funktion den neuen Status (habe es mit neuem Status gelöst) in die Datenbank einfügen, für Neuinstallationen ist es ergänzt aber für bestehenden muss man es selber machen (will gerade keine Update-Funktion bauen), habe es aber in der Anleitung mit aufgenommen: Wenn Sie die neue Präsenzfunktion (ab 0.8) in ihrer bestehenden Datenbank nutzen wollen müssen Sie folgenden Befehl in ihrer Datenbank ausführen: insert into biblio_status_dm values ('pre','Präsenz','N');

Ok, I have implemented the whole thing, there is a mini-small point, you have to insert the new status (I solved it with new status) into the database for this function, for new installations it is added but for existing ones you have to do it yourself (don't want to build an update function right now), but I have included it in the instructions: If you want to use the new presence function (from 0.8) in your existing database, you must execute the following command in your database: insert into biblio_status_dm values ('pre','Presence','N');

LeAchim59 commented 7 months ago

Danke, ich hatte übersehen, dass die Status auch in einer Tabelle abgelegt sind. Immerhin ist das ja keine Datenbankänderung.