In other actions the court may award and tax costs, and apportion the same between the parties on the same or adverse sides, as in its discretion it may think right and equitable. In all cases of appeals from an inferior court or when an original filing made in the district court is within the jurisdictional limits of an inferior court, and a jury is demanded, the court may in its discretion tax as costs the actual fees and expenses necessitated by such jury if the court finds that the appeal was taken or the original filing was made for a frivolous or capricious reason, and such costs may be apportioned between the parties on the same or adverse sides.
Neb. Rev. Stat. §§ 25-1711