►
Description
It was bound to happen. Not just one, but TWO great hacks in today's video. George and Christopher go head-to-head with a couple short, but helpful hacks in this week's special Koha Hackdown episode. Which hack is more helpful? You decide.
Referenced code:
https://wiki.koha-community.org/wiki/JQuery_Library#Add_notes_to_add_record_page_and_edit_record_page
https://wiki.koha-community.org/wiki/JQuery_Library#Automatic_Library_Setting
Music: https://www.bensound.com
B
I'm
christopher
brandon,
with
the
cooperative
information
network
and
the
coeur
d'alene
public
library
and
today
we're
going
to
have
a
double
feature:
we're
going
to
have
a
kind
of
a
coha
smackdown
or
as
I
like
to
call
it.
The
coha
hackdown,
both
george
and
I
are
going
to
do
a
couple
different
presentations,
just
some
short
hacks
for
koha
and
we'll
get
into
that
in
just
a
moment,
but
as
always
we'd
like
to
plug
our
sponsor.
That's
helping
us
provide
these
videos.
B
This
is
always
sponsored
by
kohai
us
and
you
can
visit
koha
us
koha
dashus.org,
and
you
will
find
all
of
our
videos
on
the
learn
page
down
at
the
bottom.
At
the
watch.
Kohai
us
original
training,
videos
and
also
we
would
like
to
just
remind
everybody
that
the
2021
conference
is
coming
up
in
september
september,
21st
through
24th,
and
we
would
love
to
see
you
there
and
we
would
love
it.
If
you
know
people
participate
with
us.
B
We
always
get
some
great
ideas
from
these
conferences
and
it's
always
great
to
see
people
face
to
face.
You
know,
there's
there's
only
so
much
you
can
do
online
and
we
love
to
see
people
online
at
the
monthly
meetings
but
coming
to
the
conferences
is
a
huge
deal
and
makes
connections
that
you
don't
normally
form
over
the
video
meetings.
A
Yeah,
that
being
said,
the
conference
will
be
offered
online
as
well.
It'll
be
streamed,
live
and
most
of
I'm
on
the
conference
committee,
and
I
think
almost
everybody
has
agreed
to
let
us
record
their
presentation,
so
they
will
be
available
later.
We
understand
that
you
know
there
are.
I've
talked
to
a
couple
of
people
already
that
they,
their
library,
has
just
one
person
in
particular
their
library,
isn't
letting
anybody
travel
in
2021
because
of
covid
unless
they're
presenting
at
a
conference.
A
A
One
of
the
koha
us
conferences
in
person
and
it's
they're
just
awesome.
It's
my
favorite
conference
to
go
to
and
I
think
you've
been
to
all.
B
A
Well-
and
I
only
went
to
half
of
it
because
my
mother-in-law
had
a
stroke
the
week
before
so
so
I
watched
part
of
it
online,
but
but
I
watched
all
of
it
eventually
because
it
was
recorded
and
we've
been
recording
these
for
a
long
time.
If
you
go
to
the
koha
us
youtube
page,
I
think
every
conference
presentation
we've
recorded
is
available
there.
So.
B
And
I
did
follow
up
with
those
yeah,
I
think
just
you
know
a
year
coping
and
it
just
got
to
me
and
my
heart
was
not
in
it.
You
know
this
was
like.
I
was
so
let
down.
You
know.
B
I
was
looking
forward
to
going
to
mckinney
and
I'm
glad
that
we're
we're
getting
another
opportunity
to
go
to
mckinney
because
it
sounds
like
a
great
place
and
you
know
we've
interacted
with
their
library
and
their
staff
there
over
the
years
as
they've
been
a
part
of
copa
us,
and
so
I'm
really
looking
forward
to
it,
and
you
know
if
you
can
make
it
happen,
do
come.
But
if
you
can't,
we
still
want
to
see
you
online.
B
We've
done
a
pretty
good
job
about
we've,
we've
learned
what
works
and
what
doesn't
about
broadcasting
those
conferences
and
the
presentation.
So.
A
Yeah,
that's
one
thing
I
would
say
is:
if
you
go
back
to
some
of
those
older
conferences
like
I
know,
my
presentation
in
coeur
d'alene
was
recorded
and
is
available
on
youtube,
but
it's
a
voice
only
recording,
for
whatever
reason,
the
way
it
was
being
recorded.
It
only
records
like
a
blank
screen
for
most
of
the
presentation,
so
we've
learned
a
lot
since
then.
If
you
look
at
the
ones
from
pueblo
and
from
other
conferences
since
then,
we've
gotten
better
at
it.
So.
B
A
A
In
your
video
there,
that's
the
a
picture
of
the
meeting
room
at
coeur
d'alene
after
the
conference
in
2017
right.
Yes,
yes,
yeah,
we
trashed
that
place.
B
A
A
So
what
I'm
gonna
demo?
I
went
to
one
of
the
cataloging
meetings
last
week
or
may
it
might
have
been
two
weeks
ago
and
somebody
at
the
cataloging
meeting
had
a
question
and
I've
already
forgotten
who
it
was,
but
I'm
going
to
look
up
a
record
here
in
the
coho
us
demo
site
and
I'm
going
to
click
on
edit,
and
so
we've
got
this
list
of
tabs
up
here.
One
zero
one,
two
three,
four:
five:
six,
seven,
eight
nine!
A
This
is
for
the
mark
record
and
it
used
to
be
these
tabs
were
on
the
side
weren't.
They
they.
A
A
So
I
added
this
in
our
system
a
long
time
ago-
and
I
said
yes,
there
is-
and
I
thought
we'd
just
plug
that
into
a
video
here.
So
what
we've
got
are
I
just
plugged
them
all
in
here
once
the
the
basics
of
this
are.
A
Well,
actually,
I'm
on
the
wrong
page.
Now
let
me
save
this
and
show
you
what
it
looks
like
when
we're
done
and
then
I'll
walk
through
how
it
works.
So
we
go
back
to
edit
the
record.
A
Now
it's
got
the
information
here
coded
in
control,
encoded
fields,
main
entry,
title
entry,
so
it
plugs
all
that
information
in
up
there
and
I
got
this
information.
I
created
the
headings
for
those
tabs
just
by
looking.
I
just
copied
the
data
from
the
mark
standards,
not
exactly
but
pretty
close.
You
know
coded.
B
A
Control
fields,
I
think
actually
here
it
says,
control
fields,
number
and
code
field,
so
you
know
I
I
changed
it
a
little
bit.
You
know
I
dropped
the
word
field
off
all
of
those,
but
but
the
way
that
this
code
is
actually
working
we'll
go
up
to
one
of
these.
A
So
the
class
on
all
of
on
this
whole
little
box
up
here
at
the
top
of
the
page,
is
toolbar
tabs
container.
So
that's
the
first
thing
I'm
doing
is
I'm
grabbing
that
class
and
then
I'm
looking
for
that
href
that's
in
there,
which
is
kind
of
what
identifies
it
as
this
specific
tab.
I'm
looking
in
here
for
this
ahref
with
an
id
tab,
oxx.
A
A
A
And
then,
what's
the
other
part
of
this,
I'm
appending
that
and
I
changed
the
the
font
size.
I
believe,
oh
I'm
putting
the
next
part
puts
the
coded
and
control
field
down
here,
nice.
A
A
Nice
layout
and
you
can
change
any
of
these
to
say
whatever
you
want
you
can
you
don't
have
to
use
this
text.
A
A
A
They
usually
have
a
director
who
works
part-time
and
they're
in
charge
of
cataloging
and
circulation
and
cleaning
the
bathrooms
and
everything,
and
so
a
lot
of
times
it's
for
those
people
that
don't
have
pure
dedicated
library
cataloging
experience.
It's
good
to
have
these
notes
at
the
top
that
tell
you
what
each
field
is
for.
So
that's
a
pretty
simple.
A
It's
pretty
simple
trick
to
do
so.
Let
me
pull
that
jquery
back
out
of
there,
so
that
you
can
show
us
what
you're
going
to
show
us
and
I'll
stop
sharing
my
screen.
B
I
don't
know
I
just
wrote
my
own
code,
but
I
think
that
others
have
have
done
their
own
iterations
of
this,
but
there
are
ways
so
that
it
will
always
choose
your
library
in
the
struct
in
the
drop
down
for
reports,
and
you
can
do
it
in
other
places
too.
I
specifically
chose
reports
because
usually
when
you're
doing
reports
you're
doing
it
about
your
library,
you
can
still
choose
other
libraries,
but
it's
nice.
B
You
know,
for
the
bulk
of
the
time,
you're
usually
doing
you're
dealing
with
your
own
library,
and
so
this
makes
one
less
click
for
people,
and
when
I
did
this,
I
got
a
lot
of
cheers
from
consortium
staff
with
this.
You
can
use
this
in
other
areas
where
you
might
want
the
drop
down
to
default.
You
just
have
to
find
the
right
id
for
it,
and
you
know
you
can
limit
it
to
a
particular
page
or
you
could
just
let
it
be
blanket
open
for
the
entire
site.
B
B
So
this
one
first
thing
that
we're
going
to
stick
in
here
is
a
variable.
This
is
grabbing
the
library
name,
so
it
is
grabbing
that
information
from
up
top
here
in
in
this
section,
the
code
for
your
library,
which
you
need
the
code
itself
is
going
to
be
in
so
we're
looking
at
the
the
the
just
the
user
menu
and
it's
looking
for
a
span,
login
branch
name
and
grabbing
the
first
iteration
of
that,
because
I
think
there
might,
there
might
be
more.
A
B
I
thought
it
was
grabbing
the
code,
but
it
looks
like
it's
grabbing
the
name
so,
and
you
know
you
can
always
test
the
stuff
I'm
and
I
want
to
show-
I
think
it's
you
know
it's
a
good
thing
to
show
here
too.
I
always
like
to
test
this
stuff
and
an
easy
way
to
do.
This
is
going
to
the
console
log.
So
I
can
stick
this
variable
in
the
console
log.
So
I'm
just
going
to
say
console.
B
And
with
a
semicolon,
I'm
gonna
save
that,
and
if
I
refresh
well,
I'm
not
going
to
refresh
this
guy,
I'm
going
to
refresh
this
screen
and
we'll
do
an
f12
and
looking
at
the
console
tab,
we
can
see
that
it
grabbed
cohab-us,
so
it
grabbed
the
actual
name.
So
I
think
it's
just
matching
the
name
in
there
not
necessarily
a
code.
Okay,.
B
B
So
in
this
selection,
it's
looking
for
the
option
that
has
quahog
dash
us
as
the
the
text
in
there
right.
B
B
B
And
then
we
have
to
you
know
after
we
find
that
we
have
to
close
the
function,
and
then
I
add
a
little
bit
to
that.
So,
in
addition
to
you
know
doing
the
find
with
a
filter,
it's
adding
an
attribute
to
that
to
the
one
that
it
found
so
the
one
that
found
and
marking
it
as
selected.
That's
what
makes
this
is.
This
is
the
part
that
sets
it
right.
B
A
A
B
All
right,
well
that
that's
it
short
and
sweet
that
is
our
quahog
us
hackdown.
You
can
vote
for
your
favorite
hack
in
the
video
and
let
us
know
which
one
you
thought
was
more
helpful.
Yeah.