https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17314

--- Comment #16 from Jiri Kozlovsky <m...@jkozlovsky.cz> ---
(In reply to Jiri Kozlovsky from comment #15)
> (In reply to Jiri Kozlovsky from comment #14)
> > > And I found one problem: when I'am adding suggestion through API, I can't
> > > see them in the user interface, unless I add the branchcode - it should be
> > > somehow set as mandatory I think
> > 
> > Well, you have to change your filters (click on "Acquisition information" ->
> > Library -> Any)
> > 
> > If you would like to set branch_code as mandatory, you should set up
> > "OPACSuggestionMandatoryFields" accordingly.
> > 
> > Note that there is always possible to enter a suggestion without it's
> > branchcode unless it is forced by the settings. You can do it in the OPAC &
> > the Intranet also by setting Library -> Any.
> 
> But yeah, I've just noticed, that regular users doesn't have the possibility
> to specify the branchcode, it'll automatically belong to the library they're
> registered in. Only those with access to intranet can create suggestions
> belonging to Any library.

Well, it's a bit more complicated .. There can be set
"AllowPurchaseSuggestionBranchChoice" preference, which allows user to pick a
library. But there's no choice for "Any", so the behavior I'm going to
implement is to choose user's default library if the preference is Off. If it
is On, then it'll let user pick a library, except Any, choosing his own library
if not specified.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to