if an anonymous purchase suggestion is created from the OPAC, it's branchcode is NULL, despite the 'Anon' user having a valid branchcode this bug makes any 'Anon' suggestion invisible in the staff interface more info to come...
I don't think we should be using the Anon user's branchcode - we only have one AnonymousPatron account, even for very big systems with multiple branches. Using an empty branchcode would be better and make that show up correctly again in the interface. It used to be a string - I think __ANY__ or similar, but there was a patch that changed it to be empty, which makes more sense, but might have missed something.
Mason, If you plan to work on it, please assign you the bug.
(In reply to Katrin Fischer from comment #1) > I don't think we should be using the Anon user's branchcode - we only have > one AnonymousPatron account, even for very big systems with multiple > branches. Using an empty branchcode would be better and make that show up > correctly again in the interface. It used to be a string - I think __ANY__ > or similar, but there was a patch that changed it to be empty, which makes > more sense, but might have missed something. hiya, yes - I do agree with you Cait :0) I think a better fix would be to modify the staff suggestions page, to display all NULL suggestions ^ i do have a small SQL patch for this, that i'll attach
(In reply to Jonathan Druart from comment #2) > Mason, > If you plan to work on it, please assign you the bug. yes, will do
(In reply to Mason James from comment #4) > (In reply to Jonathan Druart from comment #2) > > Mason, > > If you plan to work on it, please assign you the bug. > > yes, will do i've attached my patch to BZ 14830
I believe this one can be closed as we agreed not to use the anon user's branchcode but adapt the way we display anonymous suggestions instead.