On Mon, 26 Jan 2015, Genis Musulmanbekov wrote:
> My brief output format shows (unexpectedly) a detailed description of
> external links of a record (example is below) albeit the preview of
> the template is correct (see below).
If the live preview is correct, then you may need to dump (or recreate)
any previously cached HTML brief formats.
The following command will delete all your cached HTML brief formats:
$ echo "DELETE FROM bibfmt WHERE format='hb'" | \
/opt/invenio/bin/dbexec
You can confirm they are gone:
$ echo "SELECT DISTINCT(format) FROM bibfmt" | \
/opt/invenio/bin/dbexec
format
recstruct
xm
Then make the search query again to check if the display is what you
want.
If you wish to cache your HTML brief formats anew, say to improve the
search results page display performance, you can do:
$ sudo -u www-data /opt/invenio/bin/bibreformat -u admin -o HB
P.S. Note that every time you change the definition of HTML brief
formats, either directly or indirectly e.g. by modifying some
`bfe_title` formatting element, you may need to explicitly clean
your format cache in the above way.
Best regards
--
Tibor Simko