- comment als optionaler Parameter in ilsdi.pl - notes => comment in Services.pm (HoldTitle + HoldItem) - Fallback fuer alte VuFind 5.x Parameternamen - Diff-Patches und komplette Dateien enthalten
45 lines
1.4 KiB
Markdown
45 lines
1.4 KiB
Markdown
# Koha-Anpassungen BIBB
|
|
|
|
Lokale Anpassungen an Koha fuer die BIBB-Bibliothek.
|
|
|
|
## Koha 25.11 - ILSDI Comment-Parameter
|
|
|
|
Erweiterung der ILSDI-Schnittstelle um einen comment-Parameter
|
|
fuer HoldTitle und HoldItem. Der Kommentar wird als reservenotes
|
|
in der Vormerkung gespeichert.
|
|
|
|
### Betroffene Dateien
|
|
|
|
| Datei | Pfad auf Server |
|
|
|-------|----------------|
|
|
| ilsdi.pl | /usr/share/koha/opac/cgi-bin/opac/ilsdi.pl |
|
|
| Services.pm | /usr/share/koha/lib/C4/ILSDI/Services.pm |
|
|
|
|
### Aenderungen
|
|
|
|
**ilsdi.pl:**
|
|
- comment als optionaler Parameter fuer HoldTitle und HoldItem
|
|
- needed_before_date und pickup_expiry_date als Kompatibilitaetsparameter
|
|
fuer VuFind 5.x
|
|
|
|
**Services.pm (HoldTitle und HoldItem):**
|
|
- $comment = $cgi->param('comment') auslesen
|
|
- notes => $comment an AddReserve uebergeben
|
|
- Fallback fuer alte Parameternamen:
|
|
start_date || needed_before_date
|
|
expiry_date || pickup_expiry_date
|
|
|
|
### Patches anwenden (nach Koha-Update)
|
|
cd /
|
|
patch -p0 < /home/rkeck/koha-anpassungen/patches/koha-25.11-ilsdi-comment.patch
|
|
patch -p0 < /home/rkeck/koha-anpassungen/patches/koha-25.11-services-comment.patch
|
|
sudo koha-plack --restart bibb
|
|
|
|
### Pruefen ob Patches noch aktiv sind
|
|
grep -n "RKE" /usr/share/koha/opac/cgi-bin/opac/ilsdi.pl
|
|
grep -n "RKE" /usr/share/koha/lib/C4/ILSDI/Services.pm
|
|
|
|
### Hinweis
|
|
Diese Anpassungen werden durch apt-get upgrade ueberschrieben.
|
|
Wird obsolet nach Migration von VuFind KohaILSDI auf KohaRest-Treiber.
|