Bill Erickson [Fri, 7 Feb 2014 21:45:17 +0000 (16:45 -0500)]
LP#
1053397 copy seed data from upgrade to main file
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 7 Feb 2014 20:37:42 +0000 (15:37 -0500)]
LP#
1053397 TPAC metarecord release notes
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 7 Feb 2014 18:22:38 +0000 (13:22 -0500)]
composite attrs: remove item_form=i/z from book
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 7 Feb 2014 18:17:42 +0000 (13:17 -0500)]
composite attrs: remove item_form=h from book
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 7 Feb 2014 18:14:29 +0000 (13:14 -0500)]
composite attrs: remove item_form=g from book
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 7 Feb 2014 18:13:40 +0000 (13:13 -0500)]
composite attrs: remove item_form=g from book
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 7 Feb 2014 17:49:07 +0000 (12:49 -0500)]
LP#
1053397 ranked_vols/located_uris need defining before use in upgrade
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 7 Feb 2014 16:09:01 +0000 (11:09 -0500)]
LP#
1053397 tpac show icons for all selected MR formats in patron holds list
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 7 Feb 2014 15:31:44 +0000 (10:31 -0500)]
LP#
1053397 tpac support disabling MR search/holds
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 7 Feb 2014 15:24:08 +0000 (10:24 -0500)]
LP#
1053397 tpac gets advanced hold options link from T hold if MR available
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Mike Rylander [Thu, 6 Feb 2014 22:32:42 +0000 (17:32 -0500)]
Use the proper holdings_xml method for both the special case and embedded holdings
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Thu, 6 Feb 2014 19:49:06 +0000 (14:49 -0500)]
use UnAPI rank in baseline as well as upgrade
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Bill Erickson [Thu, 6 Feb 2014 19:47:44 +0000 (14:47 -0500)]
LP#
1053397 tpac single-rec MR jumps to detail page
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 6 Feb 2014 18:31:18 +0000 (13:31 -0500)]
TPAC generates format selector from icon_format attr
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 6 Feb 2014 18:21:31 +0000 (13:21 -0500)]
tpac repair library_name_link thinko
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 6 Feb 2014 18:14:45 +0000 (13:14 -0500)]
LP#
1053397 TPAC show all MR formats in results list
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 6 Feb 2014 17:39:56 +0000 (12:39 -0500)]
LP#
1053397 unapi.mra() param name consistency repair
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 6 Feb 2014 17:31:35 +0000 (12:31 -0500)]
Merge remote branch 'working/collab/miker/lp1053397-tpac-metarecords-plus-composite' into lp1053397-tpac-metarecords-plus-composite-r1
Bill Erickson [Thu, 6 Feb 2014 16:32:43 +0000 (11:32 -0500)]
LP#
1053397 MR holds seed data
* move seed data to separate file
* use subset of icon_format coded values for MR hold format
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Mike Rylander [Thu, 6 Feb 2014 15:40:51 +0000 (10:40 -0500)]
Grab uncontrolled attributes as well as controlled for mmr_mra
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Bill Erickson [Thu, 6 Feb 2014 14:54:16 +0000 (09:54 -0500)]
unapi.mmr thinko repair
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 6 Feb 2014 14:29:28 +0000 (09:29 -0500)]
defaulting to icon_format attr for testing
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Mike Rylander [Wed, 5 Feb 2014 22:54:23 +0000 (17:54 -0500)]
Upgrade updates
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Wed, 5 Feb 2014 22:54:12 +0000 (17:54 -0500)]
Support functions for unAPI metarecord support
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Wed, 5 Feb 2014 22:53:47 +0000 (17:53 -0500)]
Fix metarecord copy counting
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Bill Erickson [Wed, 5 Feb 2014 21:47:17 +0000 (16:47 -0500)]
composite attrs: ccvm stock ID space now handled earlier
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Wed, 5 Feb 2014 21:46:48 +0000 (16:46 -0500)]
composite attrs: carve out stock ccvm ID space
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Wed, 5 Feb 2014 21:18:38 +0000 (16:18 -0500)]
composite attributes: configurable "icons" attribute
Honor the configurable icon attribute within the TPAC.
Create a default set of icons, by copying from the existing icons,
which roughly map to the new "icon_format" record attribute
definition mappings.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Tue, 4 Feb 2014 21:43:50 +0000 (16:43 -0500)]
Composite attributes: icon formats seed data
Initial collection of expanded and improved format specifiers for (at
minimum / for starters) linking bib records to a more diverse
collection of format icons in the catalog.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Tue, 4 Feb 2014 18:32:00 +0000 (13:32 -0500)]
LP#
1053397 MR TPAC filters; editing
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 3 Feb 2014 22:52:18 +0000 (17:52 -0500)]
LP#
1053397 MR TPAC filters; editing
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 3 Feb 2014 22:51:45 +0000 (17:51 -0500)]
MR targeting thinko
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 3 Feb 2014 20:36:44 +0000 (15:36 -0500)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen into collab/miker/lp1053397-tpac-metarecords-plus-composite
Bill Erickson [Fri, 31 Jan 2014 22:01:50 +0000 (17:01 -0500)]
LP#
1053397 MR holds; more formats / lang display bits
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 31 Jan 2014 20:56:58 +0000 (15:56 -0500)]
LP#
1053397 MR formats record attr seed data
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Ben Shum [Fri, 31 Jan 2014 20:45:08 +0000 (15:45 -0500)]
Revert "Eliminate an annoying and useless warning in the JavaScript Console."
This reverts commit
bb4a797010201d6f26156c9e921d78690f265e35.
My fault for picking this in without more testing. This broke things like noted
in LP1275074.
Bill Erickson [Fri, 31 Jan 2014 20:25:56 +0000 (15:25 -0500)]
remove old, dupe unapi-mmr upgrade to avoid confusion
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 31 Jan 2014 20:23:32 +0000 (15:23 -0500)]
LP#
1053397 collectin MR hold filter bits into API calls
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 31 Jan 2014 18:57:55 +0000 (13:57 -0500)]
constituent record filtering methods: syntax, thinkos
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 31 Jan 2014 18:34:06 +0000 (13:34 -0500)]
constituent record filtering methods: syntax, thinkos
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 31 Jan 2014 18:10:09 +0000 (13:10 -0500)]
LP#
1053397 MR holds edit, initial.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Mike Rylander [Fri, 31 Jan 2014 17:33:33 +0000 (12:33 -0500)]
New constituent record filtering method for hold targeting, also exposed to the world through open-ils.circ.holds
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Bill Erickson [Fri, 31 Jan 2014 15:03:18 +0000 (10:03 -0500)]
LP#
1053397 MR holds placement cont.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 30 Jan 2014 22:22:50 +0000 (17:22 -0500)]
LP#
1053397 MR holds placement; almost
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Thu, 30 Jan 2014 17:16:27 +0000 (12:16 -0500)]
LP#
1053397 MR holds filter display
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Mike Rylander [Thu, 30 Jan 2014 19:23:13 +0000 (14:23 -0500)]
Convert the holdable_formats field on unfilled MR holds to the new style
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Thu, 30 Jan 2014 19:22:32 +0000 (14:22 -0500)]
We must return null instead of an empty string, which is not a valid query_int
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Thu, 30 Jan 2014 18:06:33 +0000 (13:06 -0500)]
We need to actually decode the json...
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Thu, 30 Jan 2014 17:25:39 +0000 (12:25 -0500)]
Supporting SQL changes
Supply MR-friendly versions of ranked_volumes() and located_uris()
Split composite attribute compiler into a standalone complier and config-id wrapper for reuse by the hold targeter
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Bill Erickson [Wed, 29 Jan 2014 22:42:15 +0000 (17:42 -0500)]
LP#
1053397 MR holds available formats; initial extraction
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Wed, 29 Jan 2014 22:41:48 +0000 (17:41 -0500)]
LP#
1053397 global flag for MR holds format attr
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Wed, 29 Jan 2014 22:41:22 +0000 (17:41 -0500)]
LP#
1053397 metabib.record_attr_flat IDL class
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Wed, 29 Jan 2014 20:56:08 +0000 (15:56 -0500)]
Merge branch 'lp1053397-tpac-metarecords' into lp1053397-tpac-metarecords-plus-composite
Bill Erickson [Tue, 28 Jan 2014 20:13:00 +0000 (15:13 -0500)]
LP#
1053397 more MR display / filter bits
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Tue, 28 Jan 2014 20:12:39 +0000 (15:12 -0500)]
LP#
1053397 basic MR holds support; todo: formats
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Tue, 21 Jan 2014 13:55:30 +0000 (08:55 -0500)]
LP#
1053397 MR search and results display
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 20 Jan 2014 20:54:35 +0000 (15:54 -0500)]
LP#
1053397 support unapi.mmr retrieval from tpac
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 20 Jan 2014 20:46:04 +0000 (15:46 -0500)]
Revert "LP#
1053397 initial metarecord detail page"
Rolling back MR detail page for now
This reverts commit
a594b9062d512a4309f48caa8c9a1012e67258c1.
Bill Erickson [Mon, 20 Jan 2014 20:45:47 +0000 (15:45 -0500)]
Revert "LP#
1053397 remove deprecated AC key lookup"
Rolling back MR detail page for now
This reverts commit
5bf50a33a02e3758ea6e2483f8dccdcc2f4dbb41.
Bill Erickson [Mon, 20 Jan 2014 20:44:07 +0000 (15:44 -0500)]
Revert "LP#
1053397 MR detail page additions"
Rolling back MR detail page for now..
This reverts commit
3bae24efbce8663df574aeea43b96b67a8f41fb1.
Bill Erickson [Mon, 20 Jan 2014 20:42:38 +0000 (15:42 -0500)]
LP#
1053397 MR detail page additions
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 20 Jan 2014 20:06:58 +0000 (15:06 -0500)]
LP#
1053397 remove deprecated AC key lookup
Remove the extra, unnecessary DB call to find the record's added content
key, since the lookups are now based on the record ID instead of the
ISBN, etc.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 20 Jan 2014 17:15:31 +0000 (12:15 -0500)]
LP#
1053397 initial metarecord detail page
* support for MR-focused copy query
* MR-focused hold / copy summary counts
Still much to do
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Mon, 20 Jan 2014 15:21:30 +0000 (10:21 -0500)]
LP#
1053397 unapi.mmr() gets new slimit->bre limit
Support limiting the number of constituent records to flesh into a
metarecord. This carries particular weight when fleshing holdings,
since a large number of constituent records could produce very large
documents.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 17 Jan 2014 19:55:14 +0000 (14:55 -0500)]
LP#
1053397 unapi.mmr() repairs
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 17 Jan 2014 19:36:36 +0000 (14:36 -0500)]
LP#
1053397 initial unapi.mmr() support
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Tue, 21 Jan 2014 22:47:41 +0000 (17:47 -0500)]
LP#
1269911 composite attributes admin UI
New interface for managing composite record attribute definitions:
/eg/conify/global/config/composite_attr_entry_definition/<id>
The UI for a coded value map is accessed from an existing coded value
via a new "Manage" link column in the CCVM table. The UI allows staff
to build tree-shaped boolean composite definitions for CCVMs in terms
of existing CCVMs.
Additionally, the record attribute definition UI now has a link from
each definition to the coded value map page for the attribute.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Mike Rylander [Wed, 22 Jan 2014 14:46:44 +0000 (09:46 -0500)]
Teach unapi about composite attributes
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Tue, 21 Jan 2014 18:29:43 +0000 (13:29 -0500)]
Need to protect against null values for sorters
Signed-off-by: Mike Rylander <miker@esilibrary.com>
Mike Rylander [Tue, 21 Jan 2014 17:52:34 +0000 (12:52 -0500)]
Provisional upgrade script for composite attributes
Various baseline fixes including syntax repairs, use of
JSON::XS for debian squeez support, correction of plperlu
SPI usage.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Tue, 21 Jan 2014 16:24:52 +0000 (11:24 -0500)]
Inform the IDL and confiy of composite attributes
IDL link from ccvm => ccraed via composite_def field
IDL selector attribute for ccvm class
ccraed gets CUD actions
In conify/global/config/coded_value_map, if the selected attr type is
composite=true, show a link from each coded value to manage the
composite definition.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Mon, 20 Jan 2014 22:24:10 +0000 (17:24 -0500)]
Schema elements and ingest logic for composite attributes
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Wed, 22 Jan 2014 14:44:28 +0000 (09:44 -0500)]
Teach unapi about multi-valued attributes
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Fri, 17 Jan 2014 23:55:26 +0000 (18:55 -0500)]
Need to distinguish between controlled and uncontrolled attributes when finding value IDs
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Fri, 17 Jan 2014 22:32:01 +0000 (17:32 -0500)]
Fix constructed method call syntax and a logic inversion
Signed-off-by: Mike Rylander <miker@esilibrary.com>
Mike Rylander [Fri, 17 Jan 2014 22:09:00 +0000 (17:09 -0500)]
Perferred language query fix
Signed-off-by: Mike Rylander <miker@esilibrary.com>
Mike Rylander [Fri, 17 Jan 2014 21:16:23 +0000 (16:16 -0500)]
Make extra sure there is no empty data
Signed-off-by: Mike Rylander <miker@esilibrary.com>
Mike Rylander [Thu, 16 Jan 2014 22:32:01 +0000 (17:32 -0500)]
Schema bug fixes from testing
Signed-off-by: Mike Rylander <miker@esilibrary.com>
Mike Rylander [Wed, 15 Jan 2014 22:22:27 +0000 (17:22 -0500)]
Teach the upgrade script to convert old data
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Wed, 15 Jan 2014 21:48:13 +0000 (16:48 -0500)]
Provisional upgrade script for MVF
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Wed, 15 Jan 2014 21:47:47 +0000 (16:47 -0500)]
Always replace sorter values
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Wed, 15 Jan 2014 21:01:36 +0000 (16:01 -0500)]
Add a useful index
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Wed, 15 Jan 2014 21:00:52 +0000 (16:00 -0500)]
Teach QueryParser new tricks
QP Needs to be made aware of several new structures in the database.
First, we have added a new sort-supporting table called metabib.record_sorter
which holds values extracted by crad.sorter=true attrs. This is used instead
of the mrd.attrs->"something" hstore composite.
Next, we teach QP how to convert from a list of user-supplied values across
many dynamic filters (based on crad) into an intarray query of ids extracted
from config.coded_value_map (in the case of controlled attributes) or
metabib.uncontrolled_record_attr_value (in the case of, you guessed it,
uncontrolled attributes). This query is applied against the vlist column
of metabib.record_attr_vector_list, which is GIN indexed for speed.
Finally, metabib.record_attr is now a view over metabib.record_attr_vector_list
and is consequently going to be slow for general use. We restrict
its inclusion in the core query to only the case of a during() filter
which requires access to the value of a bib's Date2 field. For the
other common case, requiring access to the Date1 field, we instead
use the pubdate sort value now stored in metabib.record_sorter. We
might consider making the specific sorter attribute used configurable
so that we can change the definition of pubdate down the road, but it
starts out (and generally stays) defined as equivalent to Date1.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Wed, 15 Jan 2014 18:17:39 +0000 (13:17 -0500)]
Teach the IDL about MVF-related structures
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Wed, 15 Jan 2014 17:07:59 +0000 (12:07 -0500)]
New intarray-focused attribute extraction
We rewrite the record attribute extraction to capture all the
record-supplied values for each attribute (where multi is true)
and store that list in the new (fkey-corrected) metabib.record_attr_vector_list
table. Only filters make it into this table.
We also insert a parameter after the record id to accept a list of
record attributes we want to rewrite. This defaults to NULL to rewrite
all of them.
Sorters are stored in a new, separate table built specifically for them.
metabib.record_attr becomes a vew atop metabib.record_attr_vector_list
which expands the intarray stored therein into an hstore. For
multi=true attributes, only one will be returned through this view,
as is HSTORE's way, and which will be returned is undefined. However
this view is only provided for the purpose of backward compat with
reports or other locally defined logic.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Tue, 14 Jan 2014 22:26:41 +0000 (17:26 -0500)]
Move current record attr logic into its own function
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Tue, 14 Jan 2014 21:58:33 +0000 (16:58 -0500)]
Add a multi flag for record attrs
We pre-coordinate which record attrs are allowed to be multi-valued
with this new bool. Most can be, we set the default to true and
adjust the seed data for those that should be false (sorters and
fields in the leader).
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Tue, 14 Jan 2014 21:36:51 +0000 (16:36 -0500)]
Hidy hole in which to stick "uncontrolled" values
In order to make use of the massive speed increases provided by
intarray indexing, we need to use (you guessed it) integers. But
uncontrolled record attributes are not necessarily (or even very
often) numbers. We will store them in a table of unique (per
attribute) values, and use the id from that table in our intarray
indexing. That id comes from a DECREMENTING serial that starts
at -1 and counts downward. This avoids collision with the other
set of integers (the id from config.coded_value_map) that we will
use for controlled record attribute values.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Tue, 14 Jan 2014 21:30:17 +0000 (16:30 -0500)]
Add intarray extension
We need intarray for GIN index support of integer arrays, which is
how we'll be storing the in-use record attribute value identifiers.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Tue, 14 Jan 2014 21:28:04 +0000 (16:28 -0500)]
Teach vandelay.marc21_physical_characteristics() to see all 007's
We use vandelay.marc21_physical_characteristics() to extract fixed
field data that lives in the 007. Before this change, it would
only look at the first 007 in the record. Now it will look at
all of them in turn, supporting configurations such as DVD+BluRay.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Dan Scott [Mon, 27 Jan 2014 15:50:31 +0000 (10:50 -0500)]
Include RFID docs with full path
Ben Shum noticed that the RFID docs weren't showing up in the documentation; we
need to include the full relative path to the RFID docs.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Ben Shum [Sat, 25 Jan 2014 04:56:45 +0000 (23:56 -0500)]
Fix copy_info variables for result and record view
Because we yanked out the code that generates the link into a separate INCLUDE
file, the function was looking for something for copy_info. The one for result
was missing entirely and the one for record was backwards.
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Dan Scott [Thu, 23 Jan 2014 18:51:30 +0000 (13:51 -0500)]
KPAC library page: give the kids some style
Just the bare minimum: some padding around the body, and a font colour and size
that's reasonably consistent with the rest of the look of the KPAC for h2 and
h3 elements.
Yes, I know there is text-transform:uppercase and h2 is sized at 48px but that
seems to be used for "You saved it!" and "Get it!" banner things. On the
library info page, we're using headings for headings.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Dan Scott [Thu, 23 Jan 2014 17:10:50 +0000 (12:10 -0500)]
Clean up the breadcrumb trail in the KPAC
Links to the library pages don't maintain GET context, so we can't feed search
or "Get It" links in the breadcrumb trail, currently. We can revisit this,
of course.
Wasn't there some fairy tale about kids and a breadcrumb trail... once upon a
time?
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Dan Scott [Thu, 23 Jan 2014 17:05:20 +0000 (12:05 -0500)]
KPAC root, OPAC root: we all live under one root
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Dan Scott [Thu, 23 Jan 2014 16:41:52 +0000 (11:41 -0500)]
Begin enabling KPAC-branded library info page
This needs work and is going to get squashed like a bug when we're through.
Yeesh.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Dan Scott [Thu, 23 Jan 2014 14:10:59 +0000 (09:10 -0500)]
KPAC: Won't somebody think of the children's record details?
Factor out the library name link logic into a separate template that can be
included by TPAC search results, TPAC record details, and KPAC record details.
Notice along the way that the KPAC is devoid of copy-level structured data,
but save that for later.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Dan Scott [Wed, 22 Jan 2014 15:12:37 +0000 (10:12 -0500)]
TPAC: Link library in results page to library page
Dan Wells noticed that the links on results pages went to a different location
(potentially, depending on the "prefer external library uri" OUS) than the
links on record pages. Make things consistent.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Dan Wells [Thu, 23 Jan 2014 15:04:01 +0000 (10:04 -0500)]
Forward port 2.5.2 upgrade script
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Dan Wells [Wed, 22 Jan 2014 21:40:36 +0000 (16:40 -0500)]
Translation updates - newpot
Signed-off-by: Dan Wells <dbw2@calvin.edu>