Plaintiff’s complaint contains three alleged causes of action. In the first two plaintiff prays that defendant be restrained from obtaining a deed, following the sale of certain lots situated in San Diego, for non-payment of interest on certain bonds issued to the contractor for street work, under the Street Improvement Act. The third cause of action is to quiet plaintiff’s title against any interest or claim of defendant to the property. The amended complaint was filed December 22, 1899. A general demurrer to each cause of action was interposed on December 26, 1899, and on February 24, 1900, the demurrer was. argued and submitted to the court for decision, was sustained as to the first two causes of actiop and overruled as to the third, and, on application of defendant, leave was granted him to answer the third cause of action. No leave was asked by plaintiff, and no order was made allowing plaintiff to amend the complaint as to the first two causes of action. On March 6; 1900, defendant filed his answer to the third cause of action, but sought no affirmative relief. The cause came on for trial May 16, 1900, “on the issues of fact joined by the answer of defendant to the third cause of action,” and plaintiff’s motion for a continuance was denied. Thereupon plaintiff’s counsel announced “in open court that the plaintiff will take a dismissal of this action,” to which defendant’s attorneys objected, and the court ruled that “the plaintiff is not entitled to dismiss the action as to the first two alleged causes of action stated in the amended complaint, for the reason that a trial has been heretofore had by the court, by sustaining the demurrer to each of said two alleged causes of action, on the ground that neither of them stated facts sufficient to constitute a cause of action.” After the court had announced its decision, and on the same day, plaintiff’s attorneys filed a written request to the clerk to dismiss the action, and the clerk Immediately entered an order of dismissal. Plaintiff’s attorneys the same day came into court and called its attention to the entry of the clerk, and again moved a dismissal of the action. Whereupon the court ordered that the entry of dismissal by the clerk be set aside and canceled, on the sole ground that the clerk had no authority to make the entry. Plaintiff’s counsel then moved to dismiss the third cause of action, without prejudice to the right of plaintiff concerning the proceedings theretofore had (referring *668 specifically to the aforesaid rulings of the court as to the first two causes of action), and the court granted the motion and dismissed the third cause of action. Thereupon defendant’s attorneys moved for judgment in defendant’s favor on the first two alleged causes of action, which motion the court granted. The judgment was dated May 16, 1900, and was entered May 22, 1900. It recites the foregoing facts, and adjudges that plaintiff recover nothing on the first and second causes of action, and that plaintiff is not entitled to any relief on either of said causes of action, and also adjudges the dismissal of the third cause of action. Plaintiff appeals from the order canceling the entry of dismissal by the clerk, and he also appeals from the judgment on the demurrer.
Section 581 of the Code of Civil Procedure provides as follows: “An action may be dismissed, or a judgment of non-suit entered, in the following eases: 1. By the plaintiff himself,
by written request to the clerk, filed among the papers in the case,
at any time before trial, upon payment of costs; provided a counterclaim has not been made, or affirmative relief sought by the cross-complaint or answer of the defendant.” Section 148 of the Practice Act was substantially the same as section 581 of the Code of Civil Procedure, except by statute of March 9, 1897, (Stats. 1897, p. 98,) the words in italics were added to the section. In
Hancock Ditch Co.
v.
Bradford,
The Code of Civil Procedure declares that issues arise on the pleadings, and are of two kinds,—namely, of law and of fact. (Code Civ. Proe., see. 588.) “An issue of law must be tried by the court, unless it is referred by consent.” (Code Civ. Proe., sec. 591.)
In
Tregambo
v.
Comanche etc. Mining Co.,
So it was held in
Finn
v.
Spagnoli,
A statute of the United States providing for the removal of causes required the filing of the petition to be “at or before the term at which said cause could be first tried, and before the trial thereof.” What was meant by the term “trial,” used in this statute, was decided in
Alley
v.
Nott, 111
U. S. 472, opinion by Chief Justice Waite. The suit was begun in the supreme court of New York. Demurrers to the complaint were interposed on the ground “that it did not state facts sufficient to constitute a cause of action.” The issues of law
*670
raised by the demurrers were brought to trial, and the court overruled the demurrers, with leave to defendants to amend and in default of doing so judgment was to be entered for plaintiffs. Notice of appeal was served, and stay of execution on the interlocutory judgment was moved, and further time to answer given. Finally, the appeals were withdrawn, and also the demurrers, answers filed, and a petition was filed for the removal of the suit to the circuit court of the United States for the southern district of New York. The circuit court, on motion, made an order remanding the cause, and the appeal to the United States supreme court was from this order, where it was held that the petition was not in time. Various sections of the New York Code of Civil Procedure are cited,—as to what are issues, how an issue of law arises, that upon a decision of a demurrer the court may, in its discretion, allow the party in fault to plead anew or amend, that an issue of law must be tried by the court, that after joinder of issue either party may serve a notice for a trial,—all of which are similar to the provisions of our code. The learned chief justice then says: “A demurrer to a complaint that it does not state facts sufficient to constitute a cause of action, is equivalent to a general demurrer to a declaration at common law, and raises an issue which, when tried, will finally dispose of the case as stated in the complaint on its merits, unless leave to amend or plead over is granted. The trial of such an issue is the trial of the cause as a cause, and not the settlement of a mere matter of form in proceeding. There can be no other trial except at the discretion of the court, and if final judgment is entered on the demurrer, it will be a final determination of the rights of the parties, which can be pleaded in bar to any other suit for the same cause of action. Under such circumstances, the trial of an issue raised by a demurrer which involves the merits of the action is, in our opinion, a trial of the action within the meaning of the act of March 3, 1875.” The language of the act is “at or before the term at which said cause could be first tried,
and before the trial thereof.”
The language of our code is “at any túne before trial.” There is no perceivable difference between the two acts. We cannot see why it is not true, as was said in
Tregambo
v.
Comanche etc. Mining Co.,
In
Beaumont
v.
Herrick,
Under a code provision the same as that in the Ohio code the question came before the Nebraska supreme court in
State
v.
Scott,
In
Hancock Ditch Co.
v.
Bradford,
The clerk had no authority, therefore, to enter the dismissal, and being void the court rightly set it aside.
2. But appellant insists that the demurrer was improperly sustained, and, as he appeals from the judgment in favor of defendant, the question of the sufficiency of the complaint is before us.
We are unable to discover any difference between the facts on which the right of action depends as alleged in this case and the facts alleged in Blochman v. Spreckels, ante, p. 662, this day decided. The lots here in question front on Orange Avenue, as in the other case, and the improvement of the street is the same and under the same ordinance and resolution of intention as in Blochman v. Spreckels. Respondent does not attack the sufficiency of the complaint in his brief; his argument is addressed exclusively to the regularity of the proceedings which is contested by the issues raised by the pleadings. The demurrer admits that the clause in the ordinance which, in the Blochman case, was held to render the assessment void is also found in the ordinance which in part constituted the specifications in this case. The two cases must stand or fall together.
Bach of the first two counts of the complaint stated a cause of action, and the demurrer should have been overruled.
The order canceling the entry of dismissal by the clerk should be affirmed, and the judgment in favor of defendant on the demurrer should be reversed:
Haynes, C., and Gray, C., concurred.
For the reasons given in the foregoing opinion the order canceling the entry of dismissal by the clerk is affirmed and the judgment in favor of defendant on the demurrer is reversed.
McFarland, J., Temple, J., Henshaw, J.
Hearing in Bank denied. .
Beatty, C. J., dissented from the order denying a hearing in Bank.
Notes
