Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fejlretning og fjernlån #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fejlretning og fjernlån #1

wants to merge 1 commit into from

Conversation

martinb14
Copy link

No description provided.

runephilosof pushed a commit to odensecentralbibliotek/ding_reservation that referenced this pull request Feb 12, 2013
fixed reserved message (it is set to getProviderId() instead of getTitle...
$expiry = REQUEST_TIME;
$expiry += ($form_state['values']['provider_options']['alma_interest_period'] * 24 * 60 * 60);

$reservation_result = ding_provider_invoke('reservation', 'create', $user, $reservable->getProviderId(), $form_state['values']['provider_options']['alma_preferred_branch'], $expiry);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reference to 'alma_preferred_branch' should go through the provider layer, so other library systems can use ding_reservation. The same goes for 'alma_interest_period' above :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants