Bug 33608: (follow-up) Default value for interface column
We should default to C4::Context->interface. Test plan: Login via intranet (see Bugzilla report). Edit an item. Set to lost. Check entry in statistics table on interface value. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
b5eb5520ed
commit
043f358878
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ sub new {
|
|||
categorycode => $params->{categorycode},
|
||||
ccode => exists $params->{ccode} ? $params->{ccode} : q{},
|
||||
datetime => $datetime,
|
||||
interface => $params->{interface},
|
||||
interface => $params->{interface} // C4::Context->interface,
|
||||
itemnumber => $params->{itemnumber},
|
||||
itemtype => exists $params->{itemtype} ? $params->{itemtype} : q{},
|
||||
location => $params->{location},
|
||||
|
|
Loading…
Reference in a new issue