Koha has strong separation between OPAC and staff client functionalities. If you log in to the OPAC as a staff user you don’t have any kind of elevated privileges compared to any other user. This is good for extra security, but it can be frustrating for staff if they happen to be looking at a record in the OPAC and want to switch to the staff client.
Below is a tool for generating a custom bookmarklet to use with your Koha OPAC. When you are looking at a bibliographic record in your OPAC, clicking the bookmarklet will open a new window and load the corresponding page in your staff client.
Select which page in the staff client you want your bookmarklet to take you to. Then enter the URL of your Koha staff client. The bookmarklet link is automatically updated with the settings you choose. Drag the link to the bookmarks toolbar.
Your bookmarklet: Detail view
Here is a formatted example of the code in your bookmarklet:
var currenturl = window.location.search;
var regex = /\?biblionumber=([0-9]+)/;
var paramsArray = regex.exec( currenturl );
var biblionumber = paramsArray;
window.open(‘https://koha.example.com/cgi-bin/koha/catalogue/detail.pl?biblionumber=’ + biblionumber); })()