OPACSearchForTitleIn currently supports {TITLE}, {ISBN} and {AUTHOR}. Not all books have an isbn and author or title often produce a lot of results. In our union catalog model the control number is perfect for linking. It allows to build a search link, that will go directly to the record in our union catalog or other library's catalogs. I suggest to add {CONTROLNUMBER} as new placeholder to OPACSearchForTitleIn.
Created attachment 2781 [details] [review] Proposed patch Makes {CONTROLNUMBER} available as new placeholder in system preference OPACSearchForTitleIn. {CONTROLNUMBER} will be replaced by the number in tag 001
Patch pushed and merged, please test
Successfully tested in current HEAD.
Created attachment 2793 [details] [review] Follow up to previous patch, hopefully fixing problems with non existing 001 fields
Fix pushed, please test
Records without control numbers are no longer causing a error in OPAC detail view. Closing bug.